HEX: #04000F
RGB: (4,0,15)
#04000F contains only red and blue colors. Web safe color of #04000F is #000000 (or #000).
#04000F color RGB value is (4,0,15).
RGB: (4,0,15)
(2%, 0%, 6%)
R 4 of 255 = 2%
G 0 of 255 = 0%
B 15 of 255 = 6%
R + G + B ~ 3%. #04000F is dark color.
R + G + B = 4 + 0 + 15 = 19 (100%)
R 4 of 19 ~ 21.05%
G 0 of 19 ~ 0%
B 15 of 19 ~ 78.95'%
#04000F color CMYK value is (73,100,0,94).
CMYK: (73,100,0,94) C73M100Y0K94 (73%,100%,0%,94%) (0.73/1.00/0.00/0.94)
Color #04000F in popluar color models
04 | 00 | 0F | |
---|---|---|---|
RGB | 4 | 0 | 15 |
HSL | 256° | 100.00% | 2.94% |
HSB/HSV | 256° | 100.00% | 5.88% |
CMYK | 73.33% | 100.00% | 0.00% |
94.12% |
Color #04000F in popluar number systems.
HEX | 04 | 00 | 0F |
Decimal | 4 | 0 | 15 |
Binary | 100 | 0 | 1111 |
Octal | 4 | 0 | 17 |
Shades of #04000F
Tints of #04000F
Examples of css and html codes for elements with #04000F color. Also use rgb(4,0,15) instead hex code.
.myTextColor { color: #04000F; }
<p style="color:#04000F">This sample text font color is #04000F.</p>
This text font color is #04000F.
.myBgColor { background-color: #04000F; }
<div style="background-color:#04000F">Inner text</div>
This div background color is #04000F.
.myBorderColor { border: 1px solid #04000F; }
<div style="border:3px solid #04000F">Div</div>
This div border color is #04000F.
.myOpacity80 { color: #04000F; opacity: 0.8; }
<p style="color:#04000F;opacity:0.8;">80%</p>
Text with #04000F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04000F;}
<p style="text-shadow: 3px 3px 1px #04000F">Text here.</p>
This text has shadow with #04000F color.
.textShadow {text-shadow: 3px 3px 1px #04000F', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04000F, 5px 5px 20px red">Text here.</p>
This text has shadow with #04000F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04000F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04000F, Direction=45, Strength=4)">Text</p>
This text has shadow with #04000F and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #04000F;
-webkit-box-shadow: 1px 1px 3px 2px #04000F;
box-shadow: 1px 1px 3px 2px #04000F;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04000F; -webkit-box-shadow: 1px 1px 3px 2px #04000F; box-shadow:1px 1px 3px 2px #04000F;">
Div content here
</div>
This text has color #04000F on black background.
This text has color #04000F on white background.
This text has black color on #04000F background.
This text has white color on #04000F background.
Complementary color for #hex is #FBFFF0.