HEX: #04090C
RGB: (4,9,12)
#04090C contains red, green and blue colors in about the same proportion. Web safe color of #04090C is #000000 (or #000).
#04090C color RGB value is (4,9,12).
RGB: (4,9,12) (2%,4%,5%)
R 4 of 255 = 2%
G 9 of 255 = 4%
B 12 of 255 = 5%
R + G + B ~ 4%. #04090C is dark color.
R + G + B =
4 + 9 + 12 = 25 (100%)
R 4 of 25 ~ 16%
G 9 of 25 ~ 36%
B 12 of 25 ~ 48%
#04090C color CMYK value is (67,25,0,95).
CMYK: (67,25,0,95) C67M25Y0K95 (67%,25%,0%,95%) (0.67/0.25/0.00/0.95)
04 | 09 | 0C | |
---|---|---|---|
RGB | 4 | 9 | 12 |
HSL | 203° | 50.00% | 3.14% |
HSB/HSV | 203° | 66.67% | 4.71% |
CMYK | 66.67% | 25.00% | 0.00% |
95.29% |
HEX | 04 | 09 | 0C |
Decimal | 4 | 9 | 12 |
Binary | 100 | 1001 | 1100 |
Octal | 4 | 11 | 14 |
Examples of css and html codes for elements with #04090C color. Also use rgb(4,9,12) instead hex code.
.myTextColor { color: #04090C; }
<p style="color:#04090C">This sample text font color is #04090C.</p>
This text font color is #04090C.
.myBgColor { background-color: #04090C; }
<div style="background-color:#04090C">Inner text</div>
This div background color is #04090C.
.myBorderColor { border: 1px solid #04090C; }
<div style="border:3px solid #04090C">Div</div>
This div border color is #04090C.
.myOpacity80 { color: #04090C; opacity: 0.8; }
<p style="color:#04090C;opacity:0.8;">80%</p>
Text with #04090C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04090C;}
<p style="text-shadow: 3px 3px 1px #04090C">Text here.</p>
This text has shadow with #04090C color.
.textShadow {text-shadow: 3px 3px 1px #04090C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04090C, 5px 5px 20px red">Text here.</p>
This text has shadow with #04090C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04090C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04090C, Direction=45, Strength=4)">Text</p>
This text has shadow with #04090C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04090C; -webkit-box-shadow: 1px 1px 3px 2px #04090C; box-shadow: 1px 1px 3px 2px #04090C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04090C; -webkit-box-shadow: 1px 1px 3px 2px #04090C; box-shadow:1px 1px 3px 2px #04090C;">
Div content here</div>
This text has color #04090C on black background.
This text has color #04090C on white background.
This text has black color on #04090C background.
This text has white color on #04090C background.