In RGB color space, #040b1f hex color has a red value of 4, a green value of 11 and a blue value of 31.
In CMYK color space (used in color printing), #040b1f hex color is composed of 87.1% cyan, 64.52% magenta, 0% yellow and 87.84% black.
#040b1f color has a hue of 224.4 degrees, a saturation of 77.14% and a lightness of 6.9%.
#040b1f hex color contains mainly BLUE.
The closest web safe color of #040b1f is #000033
#040b1f hex color has a decimal value of 264991.
HEX | 040b1f | #040b1f |
---|---|---|
RGB | 4, 11, 31 | rgb(4, 11, 31) |
RGB Percent | 1.57, 4.31, 12.16 | rgb(1.57, 4.31, 12.16) |
CMYK | 87, 65, 0, 88 | |
HSL | 224.4°, 77.14, 6.9 | hsl(224.4, 77.14%, 6.9%) |
HSV | 224.4°, 87.1, 12.2 |
XYZ | 0.417, 0.364, 1.345 |
---|---|
Hunter Lab | 6.033, 1.779, -8.994 |
CIE-LAB | 3.288, 2.91, -12.978 |
CIE-LCH | 3.288, 13.3, 282.638 |
CIE-LUV | 87.1, 64.52, 0, 87.84 |
Web Safe | 000033 |
RGB percent of color #040b1f
CMYK percent of color #040b1f
Text with hexadecimal color #040b1f
This text has a font color of #040b1f
<p style="color:#040b1f">Text here</p>
#040b1f Background Color
This box has a background color of #040b1f
<div style="background-color:#040b1f">Text here</div>
#040b1f Border Color
This box has a border color of #040b1f
<div style="border: 4px solid #040b1f">Text here</div>
CSS codes
<p style="color:#040b1f">Text here</p>
<div style="background-color:#040b1f">Text here</div>
<div style="border: 4px solid #040b1f">Text here</div>
#040b1f Color on white background
This is how a font and box color of #040b1f will look
on a white background.
#040b1f Color on black background
This is how a font and box color of #040b1f hex color will look
on a black background.