In RGB color space, #040508 hex color has a red value of 4, a green value of 5 and a blue value of 8.
In CMYK color space (used in color printing), #040508 hex color is composed of 50% cyan, 37.5% magenta, 0% yellow and 96.86% black.
#040508 color has a hue of 225 degrees, a saturation of 33.33% and a lightness of 2.4%.
#040508 hex color contains mainly BLUE.
The closest web safe color of #040508 is #000000
#040508 hex color has a decimal value of 263432.
HEX | 040508 | #040508 |
---|---|---|
RGB | 4, 5, 8 | rgb(4, 5, 8) |
RGB Percent | 1.57, 1.96, 3.14 | rgb(1.57, 1.96, 3.14) |
CMYK | 50, 38, 0, 97 | |
HSL | 225°, 33.33, 2.4 | hsl(225, 33.33%, 2.4%) |
HSV | 225°, 50, 3.1 |
XYZ | 0.148, 0.152, 0.251 |
---|---|
Hunter Lab | 3.899, -0.047, -1.088 |
CIE-LAB | 1.373, 0.145, -1.223 |
CIE-LCH | 1.373, 1.232, 276.761 |
CIE-LUV | 50, 37.5, 0, 96.86 |
Web Safe | 000000 |
RGB percent of color #040508
CMYK percent of color #040508
Text with hexadecimal color #040508
This text has a font color of #040508
<p style="color:#040508">Text here</p>
#040508 Background Color
This box has a background color of #040508
<div style="background-color:#040508">Text here</div>
#040508 Border Color
This box has a border color of #040508
<div style="border: 4px solid #040508">Text here</div>
CSS codes
<p style="color:#040508">Text here</p>
<div style="background-color:#040508">Text here</div>
<div style="border: 4px solid #040508">Text here</div>
#040508 Color on white background
This is how a font and box color of #040508 will look
on a white background.
#040508 Color on black background
This is how a font and box color of #040508 hex color will look
on a black background.