In RGB color space, #040402 hex color has a red value of 4, a green value of 4 and a blue value of 2.
In CMYK color space (used in color printing), #040402 hex color is composed of 0% cyan, 0% magenta, 50% yellow and 98.43% black.
#040402 color has a hue of 60 degrees, a saturation of 33.33% and a lightness of 1.2%.
#040402 hex color contains mainly RED.
The closest web safe color of #040402 is #000000
#040402 hex color has a decimal value of 263170.
HEX | 040402 | #040402 |
---|---|---|
RGB | 4, 4, 2 | rgb(4, 4, 2) |
RGB Percent | 1.57, 1.57, 0.78 | rgb(1.57, 1.57, 0.78) |
CMYK | 0, 0, 50, 98 | |
HSL | 60°, 33.33, 1.2 | hsl(60, 33.33%, 1.2%) |
HSV | 60°, 50, 1.6 |
XYZ | 0.104, 0.117, 0.075 |
---|---|
Hunter Lab | 3.421, -0.559, 1.094 |
CIE-LAB | 1.057, -0.295, 0.749 |
CIE-LCH | 1.057, 0.805, 111.497 |
CIE-LUV | 0, 0, 50, 98.43 |
Web Safe | 000000 |
RGB percent of color #040402
CMYK percent of color #040402
Text with hexadecimal color #040402
This text has a font color of #040402
<p style="color:#040402">Text here</p>
#040402 Background Color
This box has a background color of #040402
<div style="background-color:#040402">Text here</div>
#040402 Border Color
This box has a border color of #040402
<div style="border: 4px solid #040402">Text here</div>
CSS codes
<p style="color:#040402">Text here</p>
<div style="background-color:#040402">Text here</div>
<div style="border: 4px solid #040402">Text here</div>
#040402 Color on white background
This is how a font and box color of #040402 will look
on a white background.
#040402 Color on black background
This is how a font and box color of #040402 hex color will look
on a black background.