In RGB color space, #040812 hex color has a red value of 4, a green value of 8 and a blue value of 18.
In CMYK color space (used in color printing), #040812 hex color is composed of 77.78% cyan, 55.56% magenta, 0% yellow and 92.94% black.
#040812 color has a hue of 222.9 degrees, a saturation of 63.64% and a lightness of 4.3%.
#040812 hex color contains mainly BLUE.
The closest web safe color of #040812 is #000000
#040812 hex color has a decimal value of 264210.
HEX | 040812 | #040812 |
---|---|---|
RGB | 4, 8, 18 | rgb(4, 8, 18) |
RGB Percent | 1.57, 3.14, 7.06 | rgb(1.57, 3.14, 7.06) |
CMYK | 78, 56, 0, 93 | |
HSL | 222.9°, 63.64, 4.3 | hsl(222.9, 63.64%, 4.3%) |
HSV | 222.9°, 77.8, 7.1 |
XYZ | 0.246, 0.243, 0.606 |
---|---|
Hunter Lab | 4.93, 0.281, -3.838 |
CIE-LAB | 2.195, 0.616, -4.883 |
CIE-LCH | 2.195, 4.922, 277.19 |
CIE-LUV | 77.78, 55.56, 0, 92.94 |
Web Safe | 000000 |
RGB percent of color #040812
CMYK percent of color #040812
Text with hexadecimal color #040812
This text has a font color of #040812
<p style="color:#040812">Text here</p>
#040812 Background Color
This box has a background color of #040812
<div style="background-color:#040812">Text here</div>
#040812 Border Color
This box has a border color of #040812
<div style="border: 4px solid #040812">Text here</div>
CSS codes
<p style="color:#040812">Text here</p>
<div style="background-color:#040812">Text here</div>
<div style="border: 4px solid #040812">Text here</div>
#040812 Color on white background
This is how a font and box color of #040812 will look
on a white background.
#040812 Color on black background
This is how a font and box color of #040812 hex color will look
on a black background.