In RGB color space, #040212 hex color has a red value of 4, a green value of 2 and a blue value of 18.
In CMYK color space (used in color printing), #040212 hex color is composed of 77.78% cyan, 88.89% magenta, 0% yellow and 92.94% black.
#040212 color has a hue of 247.5 degrees, a saturation of 80% and a lightness of 3.9%.
#040212 hex color contains mainly BLUE.
The closest web safe color of #040212 is #000000
#040212 hex color has a decimal value of 262674.
HEX | 040212 | #040212 |
---|---|---|
RGB | 4, 2, 18 | rgb(4, 2, 18) |
RGB Percent | 1.57, 0.78, 7.06 | rgb(1.57, 0.78, 7.06) |
CMYK | 78, 89, 0, 93 | |
HSL | 247.5°, 80, 3.9 | hsl(247.5, 80%, 3.9%) |
HSV | 247.5°, 88.9, 7.1 |
XYZ | 0.181, 0.113, 0.585 |
---|---|
Hunter Lab | 3.362, 3.728, -7.965 |
CIE-LAB | 1.021, 3.015, -6.608 |
CIE-LCH | 1.021, 7.263, 294.526 |
CIE-LUV | 77.78, 88.89, 0, 92.94 |
Web Safe | 000000 |
RGB percent of color #040212
CMYK percent of color #040212
Text with hexadecimal color #040212
This text has a font color of #040212
<p style="color:#040212">Text here</p>
#040212 Background Color
This box has a background color of #040212
<div style="background-color:#040212">Text here</div>
#040212 Border Color
This box has a border color of #040212
<div style="border: 4px solid #040212">Text here</div>
CSS codes
<p style="color:#040212">Text here</p>
<div style="background-color:#040212">Text here</div>
<div style="border: 4px solid #040212">Text here</div>
#040212 Color on white background
This is how a font and box color of #040212 will look
on a white background.
#040212 Color on black background
This is how a font and box color of #040212 hex color will look
on a black background.