In RGB color space, #040c1c hex color has a red value of 4, a green value of 12 and a blue value of 28.
In CMYK color space (used in color printing), #040c1c hex color is composed of 85.71% cyan, 57.14% magenta, 0% yellow and 89.02% black.
#040c1c color has a hue of 220 degrees, a saturation of 75% and a lightness of 6.3%.
#040c1c hex color contains mainly BLUE.
The closest web safe color of #040c1c is #000033
#040c1c hex color has a decimal value of 265244.
HEX | 040c1c | #040c1c |
---|---|---|
RGB | 4, 12, 28 | rgb(4, 12, 28) |
RGB Percent | 1.57, 4.71, 10.98 | rgb(1.57, 4.71, 10.98) |
CMYK | 86, 57, 0, 89 | |
HSL | 220°, 75, 6.3 | hsl(220, 75%, 6.3%) |
HSV | 220°, 85.7, 11 |
XYZ | 0.391, 0.373, 1.15 |
---|---|
Hunter Lab | 6.107, 0.74, -6.889 |
CIE-LAB | 3.369, 1.494, -10.486 |
CIE-LCH | 3.369, 10.592, 278.109 |
CIE-LUV | 85.71, 57.14, 0, 89.02 |
Web Safe | 000033 |
RGB percent of color #040c1c
CMYK percent of color #040c1c
Text with hexadecimal color #040c1c
This text has a font color of #040c1c
<p style="color:#040c1c">Text here</p>
#040c1c Background Color
This box has a background color of #040c1c
<div style="background-color:#040c1c">Text here</div>
#040c1c Border Color
This box has a border color of #040c1c
<div style="border: 4px solid #040c1c">Text here</div>
CSS codes
<p style="color:#040c1c">Text here</p>
<div style="background-color:#040c1c">Text here</div>
<div style="border: 4px solid #040c1c">Text here</div>
#040c1c Color on white background
This is how a font and box color of #040c1c will look
on a white background.
#040c1c Color on black background
This is how a font and box color of #040c1c hex color will look
on a black background.