In RGB color space, #040c18 hex color has a red value of 4, a green value of 12 and a blue value of 24.
In CMYK color space (used in color printing), #040c18 hex color is composed of 83.33% cyan, 50% magenta, 0% yellow and 90.59% black.
#040c18 color has a hue of 216 degrees, a saturation of 71.43% and a lightness of 5.5%.
#040c18 hex color contains mainly BLUE.
The closest web safe color of #040c18 is #000000
#040c18 hex color has a decimal value of 265240.
HEX | 040c18 | #040c18 |
---|---|---|
RGB | 4, 12, 24 | rgb(4, 12, 24) |
RGB Percent | 1.57, 4.71, 9.41 | rgb(1.57, 4.71, 9.41) |
CMYK | 83, 50, 0, 91 | |
HSL | 216°, 71.43, 5.5 | hsl(216, 71.43%, 5.5%) |
HSV | 216°, 83.3, 9.4 |
XYZ | 0.346, 0.355, 0.914 |
---|---|
Hunter Lab | 5.958, -0.061, -4.924 |
CIE-LAB | 3.207, 0.352, -7.545 |
CIE-LCH | 3.207, 7.553, 272.671 |
CIE-LUV | 83.33, 50, 0, 90.59 |
Web Safe | 000000 |
RGB percent of color #040c18
CMYK percent of color #040c18
Text with hexadecimal color #040c18
This text has a font color of #040c18
<p style="color:#040c18">Text here</p>
#040c18 Background Color
This box has a background color of #040c18
<div style="background-color:#040c18">Text here</div>
#040c18 Border Color
This box has a border color of #040c18
<div style="border: 4px solid #040c18">Text here</div>
CSS codes
<p style="color:#040c18">Text here</p>
<div style="background-color:#040c18">Text here</div>
<div style="border: 4px solid #040c18">Text here</div>
#040c18 Color on white background
This is how a font and box color of #040c18 will look
on a white background.
#040c18 Color on black background
This is how a font and box color of #040c18 hex color will look
on a black background.