In RGB color space, #04020c hex color has a red value of 4, a green value of 2 and a blue value of 12.
In CMYK color space (used in color printing), #04020c hex color is composed of 66.67% cyan, 83.33% magenta, 0% yellow and 95.29% black.
#04020c color has a hue of 252 degrees, a saturation of 71.43% and a lightness of 2.7%.
#04020c hex color contains mainly BLUE.
The closest web safe color of #04020c is #000000
#04020c hex color has a decimal value of 262668.
HEX | 04020c | #04020c |
---|---|---|
RGB | 4, 2, 12 | rgb(4, 2, 12) |
RGB Percent | 1.57, 0.78, 4.71 | rgb(1.57, 0.78, 4.71) |
CMYK | 67, 83, 0, 95 | |
HSL | 252°, 71.43, 2.7 | hsl(252, 71.43%, 2.7%) |
HSV | 252°, 83.3, 4.7 |
XYZ | 0.138, 0.096, 0.359 |
---|---|
Hunter Lab | 3.098, 2.528, -4.701 |
CIE-LAB | 0.867, 1.915, -3.64 |
CIE-LCH | 0.867, 4.113, 297.749 |
CIE-LUV | 66.67, 83.33, 0, 95.29 |
Web Safe | 000000 |
RGB percent of color #04020c
CMYK percent of color #04020c
Text with hexadecimal color #04020c
This text has a font color of #04020c
<p style="color:#04020c">Text here</p>
#04020c Background Color
This box has a background color of #04020c
<div style="background-color:#04020c">Text here</div>
#04020c Border Color
This box has a border color of #04020c
<div style="border: 4px solid #04020c">Text here</div>
CSS codes
<p style="color:#04020c">Text here</p>
<div style="background-color:#04020c">Text here</div>
<div style="border: 4px solid #04020c">Text here</div>
#04020c Color on white background
This is how a font and box color of #04020c will look
on a white background.
#04020c Color on black background
This is how a font and box color of #04020c hex color will look
on a black background.