In RGB color space, #040f2a hex color has a red value of 4, a green value of 15 and a blue value of 42.
In CMYK color space (used in color printing), #040f2a hex color is composed of 90.48% cyan, 64.29% magenta, 0% yellow and 83.53% black.
#040f2a color has a hue of 222.6 degrees, a saturation of 82.61% and a lightness of 9%.
#040f2a hex color contains mainly BLUE.
The closest web safe color of #040f2a is #000033
#040f2a hex color has a decimal value of 266026.
HEX | 040f2a | #040f2a |
---|---|---|
RGB | 4, 15, 42 | rgb(4, 15, 42) |
RGB Percent | 1.57, 5.88, 16.47 | rgb(1.57, 5.88, 16.47) |
CMYK | 90, 64, 0, 84 | |
HSL | 222.6°, 82.61, 9 | hsl(222.6, 82.61%, 9%) |
HSV | 222.6°, 90.5, 16.5 |
XYZ | 0.639, 0.535, 2.26 |
---|---|
Hunter Lab | 7.314, 2.794, -13.199 |
CIE-LAB | 4.833, 5.346, -19.046 |
CIE-LCH | 4.833, 19.782, 285.679 |
CIE-LUV | 90.48, 64.29, 0, 83.53 |
Web Safe | 000033 |
RGB percent of color #040f2a
CMYK percent of color #040f2a
Text with hexadecimal color #040f2a
This text has a font color of #040f2a
<p style="color:#040f2a">Text here</p>
#040f2a Background Color
This box has a background color of #040f2a
<div style="background-color:#040f2a">Text here</div>
#040f2a Border Color
This box has a border color of #040f2a
<div style="border: 4px solid #040f2a">Text here</div>
CSS codes
<p style="color:#040f2a">Text here</p>
<div style="background-color:#040f2a">Text here</div>
<div style="border: 4px solid #040f2a">Text here</div>
#040f2a Color on white background
This is how a font and box color of #040f2a will look
on a white background.
#040f2a Color on black background
This is how a font and box color of #040f2a hex color will look
on a black background.