In RGB color space, #040c2e hex color has a red value of 4, a green value of 12 and a blue value of 46.
In CMYK color space (used in color printing), #040c2e hex color is composed of 91.3% cyan, 73.91% magenta, 0% yellow and 81.96% black.
#040c2e color has a hue of 228.6 degrees, a saturation of 84% and a lightness of 9.8%.
#040c2e hex color contains mainly BLUE.
The closest web safe color of #040c2e is #000033
#040c2e hex color has a decimal value of 265262.
HEX | 040c2e | #040c2e |
---|---|---|
RGB | 4, 12, 46 | rgb(4, 12, 46) |
RGB Percent | 1.57, 4.71, 18.04 | rgb(1.57, 4.71, 18.04) |
CMYK | 91, 74, 0, 82 | |
HSL | 228.6°, 84, 9.8 | hsl(228.6, 84%, 9.8%) |
HSV | 228.6°, 91.3, 18 |
XYZ | 0.675, 0.486, 2.643 |
---|---|
Hunter Lab | 6.971, 5.083, -17.598 |
CIE-LAB | 4.39, 8.728, -22.753 |
CIE-LCH | 4.39, 24.37, 290.987 |
CIE-LUV | 91.3, 73.91, 0, 81.96 |
Web Safe | 000033 |
RGB percent of color #040c2e
CMYK percent of color #040c2e
Text with hexadecimal color #040c2e
This text has a font color of #040c2e
<p style="color:#040c2e">Text here</p>
#040c2e Background Color
This box has a background color of #040c2e
<div style="background-color:#040c2e">Text here</div>
#040c2e Border Color
This box has a border color of #040c2e
<div style="border: 4px solid #040c2e">Text here</div>
CSS codes
<p style="color:#040c2e">Text here</p>
<div style="background-color:#040c2e">Text here</div>
<div style="border: 4px solid #040c2e">Text here</div>
#040c2e Color on white background
This is how a font and box color of #040c2e will look
on a white background.
#040c2e Color on black background
This is how a font and box color of #040c2e hex color will look
on a black background.