HEX: #04040A
RGB: (4,4,10)
#04040A contains red, green and blue colors in about the same proportion. Web safe color of #04040A is #000000 (or #000).
#04040A color RGB value is (4,4,10).
RGB: (4,4,10) (2%,2%,4%)
R 4 of 255 = 2%
G 4 of 255 = 2%
B 10 of 255 = 4%
R + G + B ~ 3%. #04040A is dark color.
R + G + B =
4 + 4 + 10 = 18 (100%)
R 4 of 18 ~ 22.22%
G 4 of 18 ~ 22.22%
B 10 of 18 ~ 55.56%
#04040A color CMYK value is (60,60,0,96).
CMYK: (60,60,0,96) C60M60Y0K96 (60%,60%,0%,96%) (0.60/0.60/0.00/0.96)
04 | 04 | 0A | |
---|---|---|---|
RGB | 4 | 4 | 10 |
HSL | 240° | 42.86% | 2.75% |
HSB/HSV | 240° | 60.00% | 3.92% |
CMYK | 60.00% | 60.00% | 0.00% |
96.08% |
HEX | 04 | 04 | 0A |
Decimal | 4 | 4 | 10 |
Binary | 100 | 100 | 1010 |
Octal | 4 | 4 | 12 |
Examples of css and html codes for elements with #04040A color. Also use rgb(4,4,10) instead hex code.
.myTextColor { color: #04040A; }
<p style="color:#04040A">This sample text font color is #04040A.</p>
This text font color is #04040A.
.myBgColor { background-color: #04040A; }
<div style="background-color:#04040A">Inner text</div>
This div background color is #04040A.
.myBorderColor { border: 1px solid #04040A; }
<div style="border:3px solid #04040A">Div</div>
This div border color is #04040A.
.myOpacity80 { color: #04040A; opacity: 0.8; }
<p style="color:#04040A;opacity:0.8;">80%</p>
Text with #04040A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04040A;}
<p style="text-shadow: 3px 3px 1px #04040A">Text here.</p>
This text has shadow with #04040A color.
.textShadow {text-shadow: 3px 3px 1px #04040A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04040A, 5px 5px 20px red">Text here.</p>
This text has shadow with #04040A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04040A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04040A, Direction=45, Strength=4)">Text</p>
This text has shadow with #04040A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04040A; -webkit-box-shadow: 1px 1px 3px 2px #04040A; box-shadow: 1px 1px 3px 2px #04040A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04040A; -webkit-box-shadow: 1px 1px 3px 2px #04040A; box-shadow:1px 1px 3px 2px #04040A;">
Div content here</div>
This text has color #04040A on black background.
This text has color #04040A on white background.
This text has black color on #04040A background.
This text has white color on #04040A background.