In RGB color space, #040828 hex color has a red value of 4, a green value of 8 and a blue value of 40.
In CMYK color space (used in color printing), #040828 hex color is composed of 90% cyan, 80% magenta, 0% yellow and 84.31% black.
#040828 color has a hue of 233.3 degrees, a saturation of 81.82% and a lightness of 8.6%.
#040828 hex color contains mainly BLUE.
The closest web safe color of #040828 is #000033
#040828 hex color has a decimal value of 264232.
HEX | 040828 | #040828 |
---|---|---|
RGB | 4, 8, 40 | rgb(4, 8, 40) |
RGB Percent | 1.57, 3.14, 15.69 | rgb(1.57, 3.14, 15.69) |
CMYK | 90, 80, 0, 84 | |
HSL | 233.3°, 81.82, 8.6 | hsl(233.3, 81.82%, 8.6%) |
HSV | 233.3°, 90, 15.7 |
XYZ | 0.52, 0.353, 2.048 |
---|---|
Hunter Lab | 5.941, 5.225, -16.278 |
CIE-LAB | 3.189, 7.557, -20.105 |
CIE-LCH | 3.189, 21.478, 290.6 |
CIE-LUV | 90, 80, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #040828
CMYK percent of color #040828
Text with hexadecimal color #040828
This text has a font color of #040828
<p style="color:#040828">Text here</p>
#040828 Background Color
This box has a background color of #040828
<div style="background-color:#040828">Text here</div>
#040828 Border Color
This box has a border color of #040828
<div style="border: 4px solid #040828">Text here</div>
CSS codes
<p style="color:#040828">Text here</p>
<div style="background-color:#040828">Text here</div>
<div style="border: 4px solid #040828">Text here</div>
#040828 Color on white background
This is how a font and box color of #040828 will look
on a white background.
#040828 Color on black background
This is how a font and box color of #040828 hex color will look
on a black background.