In RGB color space, #040f0c hex color has a red value of 4, a green value of 15 and a blue value of 12.
In CMYK color space (used in color printing), #040f0c hex color is composed of 73.33% cyan, 0% magenta, 20% yellow and 94.12% black.
#040f0c color has a hue of 163.6 degrees, a saturation of 57.89% and a lightness of 3.7%.
#040f0c hex color contains mainly GREEN.
The closest web safe color of #040f0c is #000000
#040f0c hex color has a decimal value of 265996.
HEX | 040f0c | #040f0c |
---|---|---|
RGB | 4, 15, 12 | rgb(4, 15, 12) |
RGB Percent | 1.57, 5.88, 4.71 | rgb(1.57, 5.88, 4.71) |
CMYK | 73, 0, 20, 94 | |
HSL | 163.6°, 57.89, 3.7 | hsl(163.6, 57.89%, 3.7%) |
HSV | 163.6°, 73.3, 5.9 |
XYZ | 0.287, 0.394, 0.409 |
---|---|
Hunter Lab | 6.277, -2.823, 0.531 |
CIE-LAB | 3.559, -3.584, 0.286 |
CIE-LCH | 3.559, 3.595, 175.438 |
CIE-LUV | 73.33, 0, 20, 94.12 |
Web Safe | 000000 |
RGB percent of color #040f0c
CMYK percent of color #040f0c
Text with hexadecimal color #040f0c
This text has a font color of #040f0c
<p style="color:#040f0c">Text here</p>
#040f0c Background Color
This box has a background color of #040f0c
<div style="background-color:#040f0c">Text here</div>
#040f0c Border Color
This box has a border color of #040f0c
<div style="border: 4px solid #040f0c">Text here</div>
CSS codes
<p style="color:#040f0c">Text here</p>
<div style="background-color:#040f0c">Text here</div>
<div style="border: 4px solid #040f0c">Text here</div>
#040f0c Color on white background
This is how a font and box color of #040f0c will look
on a white background.
#040f0c Color on black background
This is how a font and box color of #040f0c hex color will look
on a black background.