HEX: #020509
RGB: (2,5,9)
#020509 contains red, green and blue colors in about the same proportion. Web safe color of #020509 is #000000 (or #000).
#020509 color RGB value is (2,5,9).
RGB: (2,5,9) (1%,2%,4%)
R 2 of 255 = 1%
G 5 of 255 = 2%
B 9 of 255 = 4%
R + G + B ~ 2%. #020509 is dark color.
R + G + B =
2 + 5 + 9 = 16 (100%)
R 2 of 16 ~ 12.5%
G 5 of 16 ~ 31.25%
B 9 of 16 ~ 56.25%
#020509 color CMYK value is (78,44,0,96).
CMYK: (78,44,0,96) C78M44Y0K96 (78%,44%,0%,96%) (0.78/0.44/0.00/0.96)
02 | 05 | 09 | |
---|---|---|---|
RGB | 2 | 5 | 9 |
HSL | 214° | 63.64% | 2.16% |
HSB/HSV | 214° | 77.78% | 3.53% |
CMYK | 77.78% | 44.44% | 0.00% |
96.47% |
HEX | 02 | 05 | 09 |
Decimal | 2 | 5 | 9 |
Binary | 10 | 101 | 1001 |
Octal | 2 | 5 | 11 |
Examples of css and html codes for elements with #020509 color. Also use rgb(2,5,9) instead hex code.
.myTextColor { color: #020509; }
<p style="color:#020509">This sample text font color is #020509.</p>
This text font color is #020509.
.myBgColor { background-color: #020509; }
<div style="background-color:#020509">Inner text</div>
This div background color is #020509.
.myBorderColor { border: 1px solid #020509; }
<div style="border:3px solid #020509">Div</div>
This div border color is #020509.
.myOpacity80 { color: #020509; opacity: 0.8; }
<p style="color:#020509;opacity:0.8;">80%</p>
Text with #020509 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #020509;}
<p style="text-shadow: 3px 3px 1px #020509">Text here.</p>
This text has shadow with #020509 color.
.textShadow {text-shadow: 3px 3px 1px #020509, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #020509, 5px 5px 20px red">Text here.</p>
This text has shadow with #020509 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#020509, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#020509, Direction=45, Strength=4)">Text</p>
This text has shadow with #020509 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #020509; -webkit-box-shadow: 1px 1px 3px 2px #020509; box-shadow: 1px 1px 3px 2px #020509; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #020509; -webkit-box-shadow: 1px 1px 3px 2px #020509; box-shadow:1px 1px 3px 2px #020509;">
Div content here</div>
This text has color #020509 on black background.
This text has color #020509 on white background.
This text has black color on #020509 background.
This text has white color on #020509 background.