In RGB color space, #04021c hex color has a red value of 4, a green value of 2 and a blue value of 28.
In CMYK color space (used in color printing), #04021c hex color is composed of 85.71% cyan, 92.86% magenta, 0% yellow and 89.02% black.
#04021c color has a hue of 244.6 degrees, a saturation of 86.67% and a lightness of 5.9%.
#04021c hex color contains mainly BLUE.
The closest web safe color of #04021c is #000033
#04021c hex color has a decimal value of 262684.
HEX | 04021c | #04021c |
---|---|---|
RGB | 4, 2, 28 | rgb(4, 2, 28) |
RGB Percent | 1.57, 0.78, 10.98 | rgb(1.57, 0.78, 10.98) |
CMYK | 86, 93, 0, 89 | |
HSL | 244.6°, 86.67, 5.9 | hsl(244.6, 86.67%, 5.9%) |
HSV | 244.6°, 92.9, 11 |
XYZ | 0.281, 0.153, 1.113 |
---|---|
Hunter Lab | 3.912, 5.978, -14.133 |
CIE-LAB | 1.382, 5.554, -13.436 |
CIE-LCH | 1.382, 14.539, 292.459 |
CIE-LUV | 85.71, 92.86, 0, 89.02 |
Web Safe | 000033 |
RGB percent of color #04021c
CMYK percent of color #04021c
Text with hexadecimal color #04021c
This text has a font color of #04021c
<p style="color:#04021c">Text here</p>
#04021c Background Color
This box has a background color of #04021c
<div style="background-color:#04021c">Text here</div>
#04021c Border Color
This box has a border color of #04021c
<div style="border: 4px solid #04021c">Text here</div>
CSS codes
<p style="color:#04021c">Text here</p>
<div style="background-color:#04021c">Text here</div>
<div style="border: 4px solid #04021c">Text here</div>
#04021c Color on white background
This is how a font and box color of #04021c will look
on a white background.
#04021c Color on black background
This is how a font and box color of #04021c hex color will look
on a black background.