In RGB color space, #040c1f hex color has a red value of 4, a green value of 12 and a blue value of 31.
In CMYK color space (used in color printing), #040c1f hex color is composed of 87.1% cyan, 61.29% magenta, 0% yellow and 87.84% black.
#040c1f color has a hue of 222.2 degrees, a saturation of 77.14% and a lightness of 6.9%.
#040c1f hex color contains mainly BLUE.
The closest web safe color of #040c1f is #000033
#040c1f hex color has a decimal value of 265247.
HEX | 040c1f | #040c1f |
---|---|---|
RGB | 4, 12, 31 | rgb(4, 12, 31) |
RGB Percent | 1.57, 4.71, 12.16 | rgb(1.57, 4.71, 12.16) |
CMYK | 87, 61, 0, 88 | |
HSL | 222.2°, 77.14, 6.9 | hsl(222.2, 77.14%, 6.9%) |
HSV | 222.2°, 87.1, 12.2 |
XYZ | 0.429, 0.388, 1.349 |
---|---|
Hunter Lab | 6.229, 1.393, -8.48 |
CIE-LAB | 3.505, 2.467, -12.65 |
CIE-LCH | 3.505, 12.888, 281.035 |
CIE-LUV | 87.1, 61.29, 0, 87.84 |
Web Safe | 000033 |
RGB percent of color #040c1f
CMYK percent of color #040c1f
Text with hexadecimal color #040c1f
This text has a font color of #040c1f
<p style="color:#040c1f">Text here</p>
#040c1f Background Color
This box has a background color of #040c1f
<div style="background-color:#040c1f">Text here</div>
#040c1f Border Color
This box has a border color of #040c1f
<div style="border: 4px solid #040c1f">Text here</div>
CSS codes
<p style="color:#040c1f">Text here</p>
<div style="background-color:#040c1f">Text here</div>
<div style="border: 4px solid #040c1f">Text here</div>
#040c1f Color on white background
This is how a font and box color of #040c1f will look
on a white background.
#040c1f Color on black background
This is how a font and box color of #040c1f hex color will look
on a black background.