In RGB color space, #040f1f hex color has a red value of 4, a green value of 15 and a blue value of 31.
In CMYK color space (used in color printing), #040f1f hex color is composed of 87.1% cyan, 51.61% magenta, 0% yellow and 87.84% black.
#040f1f color has a hue of 215.6 degrees, a saturation of 77.14% and a lightness of 6.9%.
#040f1f hex color contains mainly BLUE.
The closest web safe color of #040f1f is #000033
#040f1f hex color has a decimal value of 266015.
HEX | 040f1f | #040f1f |
---|---|---|
RGB | 4, 15, 31 | rgb(4, 15, 31) |
RGB Percent | 1.57, 5.88, 12.16 | rgb(1.57, 5.88, 12.16) |
CMYK | 87, 52, 0, 88 | |
HSL | 215.6°, 77.14, 6.9 | hsl(215.6, 77.14%, 6.9%) |
HSV | 215.6°, 87.1, 12.2 |
XYZ | 0.468, 0.466, 1.362 |
---|---|
Hunter Lab | 6.826, 0.291, -7.051 |
CIE-LAB | 4.209, 1.027, -11.583 |
CIE-LCH | 4.209, 11.628, 275.067 |
CIE-LUV | 87.1, 51.61, 0, 87.84 |
Web Safe | 000033 |
RGB percent of color #040f1f
CMYK percent of color #040f1f
Text with hexadecimal color #040f1f
This text has a font color of #040f1f
<p style="color:#040f1f">Text here</p>
#040f1f Background Color
This box has a background color of #040f1f
<div style="background-color:#040f1f">Text here</div>
#040f1f Border Color
This box has a border color of #040f1f
<div style="border: 4px solid #040f1f">Text here</div>
CSS codes
<p style="color:#040f1f">Text here</p>
<div style="background-color:#040f1f">Text here</div>
<div style="border: 4px solid #040f1f">Text here</div>
#040f1f Color on white background
This is how a font and box color of #040f1f will look
on a white background.
#040f1f Color on black background
This is how a font and box color of #040f1f hex color will look
on a black background.