In RGB color space, #040f2c hex color has a red value of 4, a green value of 15 and a blue value of 44.
In CMYK color space (used in color printing), #040f2c hex color is composed of 90.91% cyan, 65.91% magenta, 0% yellow and 82.75% black.
#040f2c color has a hue of 223.5 degrees, a saturation of 83.33% and a lightness of 9.4%.
#040f2c hex color contains mainly BLUE.
The closest web safe color of #040f2c is #000033
#040f2c hex color has a decimal value of 266028.
HEX | 040f2c | #040f2c |
---|---|---|
RGB | 4, 15, 44 | rgb(4, 15, 44) |
RGB Percent | 1.57, 5.88, 17.25 | rgb(1.57, 5.88, 17.25) |
CMYK | 91, 66, 0, 83 | |
HSL | 223.5°, 83.33, 9.4 | hsl(223.5, 83.33%, 9.4%) |
HSV | 223.5°, 90.9, 17.3 |
XYZ | 0.676, 0.549, 2.453 |
---|---|
Hunter Lab | 7.409, 3.319, -14.442 |
CIE-LAB | 4.959, 6.316, -20.35 |
CIE-LCH | 4.959, 21.308, 287.243 |
CIE-LUV | 90.91, 65.91, 0, 82.75 |
Web Safe | 000033 |
RGB percent of color #040f2c
CMYK percent of color #040f2c
Text with hexadecimal color #040f2c
This text has a font color of #040f2c
<p style="color:#040f2c">Text here</p>
#040f2c Background Color
This box has a background color of #040f2c
<div style="background-color:#040f2c">Text here</div>
#040f2c Border Color
This box has a border color of #040f2c
<div style="border: 4px solid #040f2c">Text here</div>
CSS codes
<p style="color:#040f2c">Text here</p>
<div style="background-color:#040f2c">Text here</div>
<div style="border: 4px solid #040f2c">Text here</div>
#040f2c Color on white background
This is how a font and box color of #040f2c will look
on a white background.
#040f2c Color on black background
This is how a font and box color of #040f2c hex color will look
on a black background.