In RGB color space, #040c6a hex color has a red value of 4, a green value of 12 and a blue value of 106.
In CMYK color space (used in color printing), #040c6a hex color is composed of 96.23% cyan, 88.68% magenta, 0% yellow and 58.43% black.
#040c6a color has a hue of 235.3 degrees, a saturation of 92.73% and a lightness of 21.6%.
#040c6a hex color contains mainly BLUE.
The closest web safe color of #040c6a is #000066
#040c6a hex color has a decimal value of 265322.
HEX | 040c6a | #040c6a |
---|---|---|
RGB | 4, 12, 106 | rgb(4, 12, 106) |
RGB Percent | 1.57, 4.71, 41.57 | rgb(1.57, 4.71, 41.57) |
CMYK | 96, 89, 0, 58 | |
HSL | 235.3°, 92.73, 21.6 | hsl(235.3, 92.73%, 21.6%) |
HSV | 235.3°, 96.2, 41.6 |
XYZ | 2.783, 1.329, 13.746 |
---|---|
Hunter Lab | 11.528, 22.917, -62.626 |
CIE-LAB | 11.477, 35.675, -52.957 |
CIE-LCH | 11.477, 63.853, 303.967 |
CIE-LUV | 96.23, 88.68, 0, 58.43 |
Web Safe | 000066 |
RGB percent of color #040c6a
CMYK percent of color #040c6a
Text with hexadecimal color #040c6a
This text has a font color of #040c6a
<p style="color:#040c6a">Text here</p>
#040c6a Background Color
This box has a background color of #040c6a
<div style="background-color:#040c6a">Text here</div>
#040c6a Border Color
This box has a border color of #040c6a
<div style="border: 4px solid #040c6a">Text here</div>
CSS codes
<p style="color:#040c6a">Text here</p>
<div style="background-color:#040c6a">Text here</div>
<div style="border: 4px solid #040c6a">Text here</div>
#040c6a Color on white background
This is how a font and box color of #040c6a will look
on a white background.
#040c6a Color on black background
This is how a font and box color of #040c6a hex color will look
on a black background.