In RGB color space, #042812 hex color has a red value of 4, a green value of 40 and a blue value of 18.
In CMYK color space (used in color printing), #042812 hex color is composed of 90% cyan, 0% magenta, 55% yellow and 84.31% black.
#042812 color has a hue of 143.3 degrees, a saturation of 81.82% and a lightness of 8.6%.
#042812 hex color contains mainly GREEN.
The closest web safe color of #042812 is #003300
#042812 hex color has a decimal value of 272402.
HEX | 042812 | #042812 |
---|---|---|
RGB | 4, 40, 18 | rgb(4, 40, 18) |
RGB Percent | 1.57, 15.69, 7.06 | rgb(1.57, 15.69, 7.06) |
CMYK | 90, 0, 55, 84 | |
HSL | 143.3°, 81.82, 8.6 | hsl(143.3, 81.82%, 8.6%) |
HSV | 143.3°, 90, 15.7 |
XYZ | 0.918, 1.587, 0.83 |
---|---|
Hunter Lab | 12.598, -9.038, 4.912 |
CIE-LAB | 13.151, -19.169, 10.802 |
CIE-LCH | 13.151, 22.003, 150.598 |
CIE-LUV | 90, 0, 55, 84.31 |
Web Safe | 003300 |
RGB percent of color #042812
CMYK percent of color #042812
Text with hexadecimal color #042812
This text has a font color of #042812
<p style="color:#042812">Text here</p>
#042812 Background Color
This box has a background color of #042812
<div style="background-color:#042812">Text here</div>
#042812 Border Color
This box has a border color of #042812
<div style="border: 4px solid #042812">Text here</div>
CSS codes
<p style="color:#042812">Text here</p>
<div style="background-color:#042812">Text here</div>
<div style="border: 4px solid #042812">Text here</div>
#042812 Color on white background
This is how a font and box color of #042812 will look
on a white background.
#042812 Color on black background
This is how a font and box color of #042812 hex color will look
on a black background.