In RGB color space, #040c0f hex color has a red value of 4, a green value of 12 and a blue value of 15.
In CMYK color space (used in color printing), #040c0f hex color is composed of 73.33% cyan, 20% magenta, 0% yellow and 94.12% black.
#040c0f color has a hue of 196.4 degrees, a saturation of 57.89% and a lightness of 3.7%.
#040c0f hex color contains mainly BLUE.
The closest web safe color of #040c0f is #000000
#040c0f hex color has a decimal value of 265231.
HEX | 040c0f | #040c0f |
---|---|---|
RGB | 4, 12, 15 | rgb(4, 12, 15) |
RGB Percent | 1.57, 4.71, 5.88 | rgb(1.57, 4.71, 5.88) |
CMYK | 73, 20, 0, 94 | |
HSL | 196.4°, 57.89, 3.7 | hsl(196.4, 57.89%, 3.7%) |
HSV | 196.4°, 73.3, 5.9 |
XYZ | 0.268, 0.323, 0.5 |
---|---|
Hunter Lab | 5.683, -1.529, -1.238 |
CIE-LAB | 2.918, -1.598, -2.121 |
CIE-LCH | 2.918, 2.656, 233.005 |
CIE-LUV | 73.33, 20, 0, 94.12 |
Web Safe | 000000 |
RGB percent of color #040c0f
CMYK percent of color #040c0f
Text with hexadecimal color #040c0f
This text has a font color of #040c0f
<p style="color:#040c0f">Text here</p>
#040c0f Background Color
This box has a background color of #040c0f
<div style="background-color:#040c0f">Text here</div>
#040c0f Border Color
This box has a border color of #040c0f
<div style="border: 4px solid #040c0f">Text here</div>
CSS codes
<p style="color:#040c0f">Text here</p>
<div style="background-color:#040c0f">Text here</div>
<div style="border: 4px solid #040c0f">Text here</div>
#040c0f Color on white background
This is how a font and box color of #040c0f will look
on a white background.
#040c0f Color on black background
This is how a font and box color of #040c0f hex color will look
on a black background.