In RGB color space, #042a1f hex color has a red value of 4, a green value of 42 and a blue value of 31.
In CMYK color space (used in color printing), #042a1f hex color is composed of 90.48% cyan, 0% magenta, 26.19% yellow and 83.53% black.
#042a1f color has a hue of 162.6 degrees, a saturation of 82.61% and a lightness of 9%.
#042a1f hex color contains mainly GREEN.
The closest web safe color of #042a1f is #003333
#042a1f hex color has a decimal value of 272927.
HEX | 042a1f | #042a1f |
---|---|---|
RGB | 4, 42, 31 | rgb(4, 42, 31) |
RGB Percent | 1.57, 16.47, 12.16 | rgb(1.57, 16.47, 12.16) |
CMYK | 90, 0, 26, 84 | |
HSL | 162.6°, 82.61, 9 | hsl(162.6, 82.61%, 9%) |
HSV | 162.6°, 90.5, 16.5 |
XYZ | 1.125, 1.781, 1.581 |
---|---|
Hunter Lab | 13.345, -8.307, 2.318 |
CIE-LAB | 14.293, -16.626, 3.437 |
CIE-LCH | 14.293, 16.978, 168.32 |
CIE-LUV | 90.48, 0, 26.19, 83.53 |
Web Safe | 003333 |
RGB percent of color #042a1f
CMYK percent of color #042a1f
Text with hexadecimal color #042a1f
This text has a font color of #042a1f
<p style="color:#042a1f">Text here</p>
#042a1f Background Color
This box has a background color of #042a1f
<div style="background-color:#042a1f">Text here</div>
#042a1f Border Color
This box has a border color of #042a1f
<div style="border: 4px solid #042a1f">Text here</div>
CSS codes
<p style="color:#042a1f">Text here</p>
<div style="background-color:#042a1f">Text here</div>
<div style="border: 4px solid #042a1f">Text here</div>
#042a1f Color on white background
This is how a font and box color of #042a1f will look
on a white background.
#042a1f Color on black background
This is how a font and box color of #042a1f hex color will look
on a black background.