In RGB color space, #040502 hex color has a red value of 4, a green value of 5 and a blue value of 2.
In CMYK color space (used in color printing), #040502 hex color is composed of 20% cyan, 0% magenta, 60% yellow and 98.04% black.
#040502 color has a hue of 80 degrees, a saturation of 42.86% and a lightness of 1.4%.
#040502 hex color contains mainly GREEN.
The closest web safe color of #040502 is #000000
#040502 hex color has a decimal value of 263426.
HEX | 040502 | #040502 |
---|---|---|
RGB | 4, 5, 2 | rgb(4, 5, 2) |
RGB Percent | 1.57, 1.96, 0.78 | rgb(1.57, 1.96, 0.78) |
CMYK | 20, 0, 60, 98 | |
HSL | 80°, 42.86, 1.4 | hsl(80, 42.86%, 1.4%) |
HSV | 80°, 60, 2 |
XYZ | 0.115, 0.139, 0.078 |
---|---|
Hunter Lab | 3.728, -1.019, 1.369 |
CIE-LAB | 1.256, -0.701, 1.049 |
CIE-LCH | 1.256, 1.262, 123.753 |
CIE-LUV | 20, 0, 60, 98.04 |
Web Safe | 000000 |
RGB percent of color #040502
CMYK percent of color #040502
Text with hexadecimal color #040502
This text has a font color of #040502
<p style="color:#040502">Text here</p>
#040502 Background Color
This box has a background color of #040502
<div style="background-color:#040502">Text here</div>
#040502 Border Color
This box has a border color of #040502
<div style="border: 4px solid #040502">Text here</div>
CSS codes
<p style="color:#040502">Text here</p>
<div style="background-color:#040502">Text here</div>
<div style="border: 4px solid #040502">Text here</div>
#040502 Color on white background
This is how a font and box color of #040502 will look
on a white background.
#040502 Color on black background
This is how a font and box color of #040502 hex color will look
on a black background.