In RGB color space, #040c9a hex color has a red value of 4, a green value of 12 and a blue value of 154.
In CMYK color space (used in color printing), #040c9a hex color is composed of 97.4% cyan, 92.21% magenta, 0% yellow and 39.61% black.
#040c9a color has a hue of 236.8 degrees, a saturation of 94.94% and a lightness of 31%.
#040c9a hex color contains mainly BLUE.
The closest web safe color of #040c9a is #000099
#040c9a hex color has a decimal value of 265370.
HEX | 040c9a | #040c9a |
---|---|---|
RGB | 4, 12, 154 | rgb(4, 12, 154) |
RGB Percent | 1.57, 4.71, 60.39 | rgb(1.57, 4.71, 60.39) |
CMYK | 97, 92, 0, 40 | |
HSL | 236.8°, 94.94, 31 | hsl(236.8, 94.94%, 31%) |
HSV | 236.8°, 97.4, 60.4 |
XYZ | 6.014, 2.622, 30.761 |
---|---|
Hunter Lab | 16.193, 37.959, -101.298 |
CIE-LAB | 18.462, 50.699, -71.817 |
CIE-LCH | 18.462, 87.909, 305.22 |
CIE-LUV | 97.4, 92.21, 0, 39.61 |
Web Safe | 000099 |
RGB percent of color #040c9a
CMYK percent of color #040c9a
Text with hexadecimal color #040c9a
This text has a font color of #040c9a
<p style="color:#040c9a">Text here</p>
#040c9a Background Color
This box has a background color of #040c9a
<div style="background-color:#040c9a">Text here</div>
#040c9a Border Color
This box has a border color of #040c9a
<div style="border: 4px solid #040c9a">Text here</div>
CSS codes
<p style="color:#040c9a">Text here</p>
<div style="background-color:#040c9a">Text here</div>
<div style="border: 4px solid #040c9a">Text here</div>
#040c9a Color on white background
This is how a font and box color of #040c9a will look
on a white background.
#040c9a Color on black background
This is how a font and box color of #040c9a hex color will look
on a black background.