In RGB color space, #040c2a hex color has a red value of 4, a green value of 12 and a blue value of 42.
In CMYK color space (used in color printing), #040c2a hex color is composed of 90.48% cyan, 71.43% magenta, 0% yellow and 83.53% black.
#040c2a color has a hue of 227.4 degrees, a saturation of 82.61% and a lightness of 9%.
#040c2a hex color contains mainly BLUE.
The closest web safe color of #040c2a is #000033
#040c2a hex color has a decimal value of 265258.
HEX | 040c2a | #040c2a |
---|---|---|
RGB | 4, 12, 42 | rgb(4, 12, 42) |
RGB Percent | 1.57, 4.71, 16.47 | rgb(1.57, 4.71, 16.47) |
CMYK | 90, 71, 0, 84 | |
HSL | 227.4°, 82.61, 9 | hsl(227.4, 82.61%, 9%) |
HSV | 227.4°, 90.5, 16.5 |
XYZ | 0.599, 0.456, 2.247 |
---|---|
Hunter Lab | 6.753, 4.016, -15.002 |
CIE-LAB | 4.119, 6.783, -20.171 |
CIE-LCH | 4.119, 21.281, 288.586 |
CIE-LUV | 90.48, 71.43, 0, 83.53 |
Web Safe | 000033 |
RGB percent of color #040c2a
CMYK percent of color #040c2a
Text with hexadecimal color #040c2a
This text has a font color of #040c2a
<p style="color:#040c2a">Text here</p>
#040c2a Background Color
This box has a background color of #040c2a
<div style="background-color:#040c2a">Text here</div>
#040c2a Border Color
This box has a border color of #040c2a
<div style="border: 4px solid #040c2a">Text here</div>
CSS codes
<p style="color:#040c2a">Text here</p>
<div style="background-color:#040c2a">Text here</div>
<div style="border: 4px solid #040c2a">Text here</div>
#040c2a Color on white background
This is how a font and box color of #040c2a will look
on a white background.
#040c2a Color on black background
This is how a font and box color of #040c2a hex color will look
on a black background.