In RGB color space, #040c1a hex color has a red value of 4, a green value of 12 and a blue value of 26.
In CMYK color space (used in color printing), #040c1a hex color is composed of 84.62% cyan, 53.85% magenta, 0% yellow and 89.8% black.
#040c1a color has a hue of 218.2 degrees, a saturation of 73.33% and a lightness of 5.9%.
#040c1a hex color contains mainly BLUE.
The closest web safe color of #040c1a is #000033
#040c1a hex color has a decimal value of 265242.
HEX | 040c1a | #040c1a |
---|---|---|
RGB | 4, 12, 26 | rgb(4, 12, 26) |
RGB Percent | 1.57, 4.71, 10.2 | rgb(1.57, 4.71, 10.2) |
CMYK | 85, 54, 0, 90 | |
HSL | 218.2°, 73.33, 5.9 | hsl(218.2, 73.33%, 5.9%) |
HSV | 218.2°, 84.6, 10.2 |
XYZ | 0.368, 0.363, 1.028 |
---|---|
Hunter Lab | 6.025, 0.359, -5.899 |
CIE-LAB | 3.279, 0.941, -9.031 |
CIE-LCH | 3.279, 9.08, 275.949 |
CIE-LUV | 84.62, 53.85, 0, 89.8 |
Web Safe | 000033 |
RGB percent of color #040c1a
CMYK percent of color #040c1a
Text with hexadecimal color #040c1a
This text has a font color of #040c1a
<p style="color:#040c1a">Text here</p>
#040c1a Background Color
This box has a background color of #040c1a
<div style="background-color:#040c1a">Text here</div>
#040c1a Border Color
This box has a border color of #040c1a
<div style="border: 4px solid #040c1a">Text here</div>
CSS codes
<p style="color:#040c1a">Text here</p>
<div style="background-color:#040c1a">Text here</div>
<div style="border: 4px solid #040c1a">Text here</div>
#040c1a Color on white background
This is how a font and box color of #040c1a will look
on a white background.
#040c1a Color on black background
This is how a font and box color of #040c1a hex color will look
on a black background.