In RGB color space, #040008 hex color has a red value of 4, a green value of 0 and a blue value of 8.
In CMYK color space (used in color printing), #040008 hex color is composed of 50% cyan, 100% magenta, 0% yellow and 96.86% black.
#040008 color has a hue of 270 degrees, a saturation of 100% and a lightness of 1.6%.
#040008 hex color contains mainly BLUE.
The closest web safe color of #040008 is #000000
#040008 hex color has a decimal value of 262152.
HEX | 040008 | #040008 |
---|---|---|
RGB | 4, 0, 8 | rgb(4, 0, 8) |
RGB Percent | 1.57, 0, 3.14 | rgb(1.57, 0, 3.14) |
CMYK | 50, 100, 0, 97 | |
HSL | 270°, 100, 1.6 | hsl(270, 100%, 1.6%) |
HSV | 270°, 100, 3.1 |
XYZ | 0.094, 0.043, 0.233 |
---|---|
Hunter Lab | 2.074, 4.463, -5.21 |
CIE-LAB | 0.388, 2.176, -2.663 |
CIE-LCH | 0.388, 3.439, 309.253 |
CIE-LUV | 50, 100, 0, 96.86 |
Web Safe | 000000 |
RGB percent of color #040008
CMYK percent of color #040008
Text with hexadecimal color #040008
This text has a font color of #040008
<p style="color:#040008">Text here</p>
#040008 Background Color
This box has a background color of #040008
<div style="background-color:#040008">Text here</div>
#040008 Border Color
This box has a border color of #040008
<div style="border: 4px solid #040008">Text here</div>
CSS codes
<p style="color:#040008">Text here</p>
<div style="background-color:#040008">Text here</div>
<div style="border: 4px solid #040008">Text here</div>
#040008 Color on white background
This is how a font and box color of #040008 will look
on a white background.
#040008 Color on black background
This is how a font and box color of #040008 hex color will look
on a black background.