In RGB color space, #040c3c hex color has a red value of 4, a green value of 12 and a blue value of 60.
In CMYK color space (used in color printing), #040c3c hex color is composed of 93.33% cyan, 80% magenta, 0% yellow and 76.47% black.
#040c3c color has a hue of 231.4 degrees, a saturation of 87.5% and a lightness of 12.5%.
#040c3c hex color contains mainly BLUE.
The closest web safe color of #040c3c is #000033
#040c3c hex color has a decimal value of 265276.
HEX | 040c3c | #040c3c |
---|---|---|
RGB | 4, 12, 60 | rgb(4, 12, 60) |
RGB Percent | 1.57, 4.71, 23.53 | rgb(1.57, 4.71, 23.53) |
CMYK | 93, 80, 0, 76 | |
HSL | 231.4°, 87.5, 12.5 | hsl(231.4, 87.5%, 12.5%) |
HSV | 231.4°, 93.3, 23.5 |
XYZ | 0.997, 0.615, 4.341 |
---|---|
Hunter Lab | 7.842, 8.969, -27.33 |
CIE-LAB | 5.555, 16.541, -31.16 |
CIE-LCH | 5.555, 35.278, 297.961 |
CIE-LUV | 93.33, 80, 0, 76.47 |
Web Safe | 000033 |
RGB percent of color #040c3c
CMYK percent of color #040c3c
Text with hexadecimal color #040c3c
This text has a font color of #040c3c
<p style="color:#040c3c">Text here</p>
#040c3c Background Color
This box has a background color of #040c3c
<div style="background-color:#040c3c">Text here</div>
#040c3c Border Color
This box has a border color of #040c3c
<div style="border: 4px solid #040c3c">Text here</div>
CSS codes
<p style="color:#040c3c">Text here</p>
<div style="background-color:#040c3c">Text here</div>
<div style="border: 4px solid #040c3c">Text here</div>
#040c3c Color on white background
This is how a font and box color of #040c3c will look
on a white background.
#040c3c Color on black background
This is how a font and box color of #040c3c hex color will look
on a black background.