In RGB color space, #040c28 hex color has a red value of 4, a green value of 12 and a blue value of 40.
In CMYK color space (used in color printing), #040c28 hex color is composed of 90% cyan, 70% magenta, 0% yellow and 84.31% black.
#040c28 color has a hue of 226.7 degrees, a saturation of 81.82% and a lightness of 8.6%.
#040c28 hex color contains mainly BLUE.
The closest web safe color of #040c28 is #000033
#040c28 hex color has a decimal value of 265256.
HEX | 040c28 | #040c28 |
---|---|---|
RGB | 4, 12, 40 | rgb(4, 12, 40) |
RGB Percent | 1.57, 4.71, 15.69 | rgb(1.57, 4.71, 15.69) |
CMYK | 90, 70, 0, 84 | |
HSL | 226.7°, 81.82, 8.6 | hsl(226.7, 81.82%, 8.6%) |
HSV | 226.7°, 90, 15.7 |
XYZ | 0.565, 0.442, 2.063 |
---|---|
Hunter Lab | 6.648, 3.535, -13.744 |
CIE-LAB | 3.993, 5.935, -18.848 |
CIE-LCH | 3.993, 19.76, 287.479 |
CIE-LUV | 90, 70, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #040c28
CMYK percent of color #040c28
Text with hexadecimal color #040c28
This text has a font color of #040c28
<p style="color:#040c28">Text here</p>
#040c28 Background Color
This box has a background color of #040c28
<div style="background-color:#040c28">Text here</div>
#040c28 Border Color
This box has a border color of #040c28
<div style="border: 4px solid #040c28">Text here</div>
CSS codes
<p style="color:#040c28">Text here</p>
<div style="background-color:#040c28">Text here</div>
<div style="border: 4px solid #040c28">Text here</div>
#040c28 Color on white background
This is how a font and box color of #040c28 will look
on a white background.
#040c28 Color on black background
This is how a font and box color of #040c28 hex color will look
on a black background.