In RGB color space, #040002 hex color has a red value of 4, a green value of 0 and a blue value of 2.
In CMYK color space (used in color printing), #040002 hex color is composed of 0% cyan, 100% magenta, 50% yellow and 98.43% black.
#040002 color has a hue of 330 degrees, a saturation of 100% and a lightness of 0.8%.
#040002 hex color contains mainly RED.
The closest web safe color of #040002 is #000000
#040002 hex color has a decimal value of 262146.
HEX | 040002 | #040002 |
---|---|---|
RGB | 4, 0, 2 | rgb(4, 0, 2) |
RGB Percent | 1.57, 0, 0.78 | rgb(1.57, 0, 0.78) |
CMYK | 0, 100, 50, 98 | |
HSL | 330°, 100, 0.8 | hsl(330, 100%, 0.8%) |
HSV | 330°, 100, 1.6 |
XYZ | 0.061, 0.03, 0.06 |
---|---|
Hunter Lab | 1.732, 3.255, -0.841 |
CIE-LAB | 0.271, 1.331, -0.391 |
CIE-LCH | 0.271, 1.387, 343.629 |
CIE-LUV | 0, 100, 50, 98.43 |
Web Safe | 000000 |
RGB percent of color #040002
CMYK percent of color #040002
Text with hexadecimal color #040002
This text has a font color of #040002
<p style="color:#040002">Text here</p>
#040002 Background Color
This box has a background color of #040002
<div style="background-color:#040002">Text here</div>
#040002 Border Color
This box has a border color of #040002
<div style="border: 4px solid #040002">Text here</div>
CSS codes
<p style="color:#040002">Text here</p>
<div style="background-color:#040002">Text here</div>
<div style="border: 4px solid #040002">Text here</div>
#040002 Color on white background
This is how a font and box color of #040002 will look
on a white background.
#040002 Color on black background
This is how a font and box color of #040002 hex color will look
on a black background.