In RGB color space, #040c0c hex color has a red value of 4, a green value of 12 and a blue value of 12.
In CMYK color space (used in color printing), #040c0c hex color is composed of 66.67% cyan, 0% magenta, 0% yellow and 95.29% black.
#040c0c color has a hue of 180 degrees, a saturation of 50% and a lightness of 3.1%.
#040c0c hex color contains mainly GREEN.
The closest web safe color of #040c0c is #000000
#040c0c hex color has a decimal value of 265228.
HEX | 040c0c | #040c0c |
---|---|---|
RGB | 4, 12, 12 | rgb(4, 12, 12) |
RGB Percent | 1.57, 4.71, 4.71 | rgb(1.57, 4.71, 4.71) |
CMYK | 67, 0, 0, 95 | |
HSL | 180°, 50, 3.1 | hsl(180, 50%, 3.1%) |
HSV | 180°, 66.7, 4.7 |
XYZ | 0.248, 0.315, 0.396 |
---|---|
Hunter Lab | 5.612, -1.934, -0.255 |
CIE-LAB | 2.845, -2.105, -0.758 |
CIE-LCH | 2.845, 2.237, 199.804 |
CIE-LUV | 66.67, 0, 0, 95.29 |
Web Safe | 000000 |
RGB percent of color #040c0c
CMYK percent of color #040c0c
Text with hexadecimal color #040c0c
This text has a font color of #040c0c
<p style="color:#040c0c">Text here</p>
#040c0c Background Color
This box has a background color of #040c0c
<div style="background-color:#040c0c">Text here</div>
#040c0c Border Color
This box has a border color of #040c0c
<div style="border: 4px solid #040c0c">Text here</div>
CSS codes
<p style="color:#040c0c">Text here</p>
<div style="background-color:#040c0c">Text here</div>
<div style="border: 4px solid #040c0c">Text here</div>
#040c0c Color on white background
This is how a font and box color of #040c0c will look
on a white background.
#040c0c Color on black background
This is how a font and box color of #040c0c hex color will look
on a black background.