In RGB color space, #040c9c hex color has a red value of 4, a green value of 12 and a blue value of 156.
In CMYK color space (used in color printing), #040c9c hex color is composed of 97.44% cyan, 92.31% magenta, 0% yellow and 38.82% black.
#040c9c color has a hue of 236.8 degrees, a saturation of 95% and a lightness of 31.4%.
#040c9c hex color contains mainly BLUE.
The closest web safe color of #040c9c is #000099
#040c9c hex color has a decimal value of 265372.
HEX | 040c9c | #040c9c |
---|---|---|
RGB | 4, 12, 156 | rgb(4, 12, 156) |
RGB Percent | 1.57, 4.71, 61.18 | rgb(1.57, 4.71, 61.18) |
CMYK | 97, 92, 0, 39 | |
HSL | 236.8°, 95, 31.4 | hsl(236.8, 95%, 31.4%) |
HSV | 236.8°, 97.4, 61.2 |
XYZ | 6.182, 2.689, 31.646 |
---|---|
Hunter Lab | 16.398, 38.597, -102.942 |
CIE-LAB | 18.753, 51.283, -72.561 |
CIE-LCH | 18.753, 88.854, 305.251 |
CIE-LUV | 97.44, 92.31, 0, 38.82 |
Web Safe | 000099 |
RGB percent of color #040c9c
CMYK percent of color #040c9c
Text with hexadecimal color #040c9c
This text has a font color of #040c9c
<p style="color:#040c9c">Text here</p>
#040c9c Background Color
This box has a background color of #040c9c
<div style="background-color:#040c9c">Text here</div>
#040c9c Border Color
This box has a border color of #040c9c
<div style="border: 4px solid #040c9c">Text here</div>
CSS codes
<p style="color:#040c9c">Text here</p>
<div style="background-color:#040c9c">Text here</div>
<div style="border: 4px solid #040c9c">Text here</div>
#040c9c Color on white background
This is how a font and box color of #040c9c will look
on a white background.
#040c9c Color on black background
This is how a font and box color of #040c9c hex color will look
on a black background.