In RGB color space, #040c6f hex color has a red value of 4, a green value of 12 and a blue value of 111.
In CMYK color space (used in color printing), #040c6f hex color is composed of 96.4% cyan, 89.19% magenta, 0% yellow and 56.47% black.
#040c6f color has a hue of 235.5 degrees, a saturation of 93.04% and a lightness of 22.5%.
#040c6f hex color contains mainly BLUE.
The closest web safe color of #040c6f is #000066
#040c6f hex color has a decimal value of 265327.
HEX | 040c6f | #040c6f |
---|---|---|
RGB | 4, 12, 111 | rgb(4, 12, 111) |
RGB Percent | 1.57, 4.71, 43.53 | rgb(1.57, 4.71, 43.53) |
CMYK | 96, 89, 0, 56 | |
HSL | 235.5°, 93.04, 22.5 | hsl(235.5, 93.04%, 22.5%) |
HSV | 235.5°, 96.4, 43.5 |
XYZ | 3.051, 1.436, 15.155 |
---|---|
Hunter Lab | 11.983, 24.476, -66.594 |
CIE-LAB | 12.195, 37.374, -55.036 |
CIE-LCH | 12.195, 66.527, 304.18 |
CIE-LUV | 96.4, 89.19, 0, 56.47 |
Web Safe | 000066 |
RGB percent of color #040c6f
CMYK percent of color #040c6f
Text with hexadecimal color #040c6f
This text has a font color of #040c6f
<p style="color:#040c6f">Text here</p>
#040c6f Background Color
This box has a background color of #040c6f
<div style="background-color:#040c6f">Text here</div>
#040c6f Border Color
This box has a border color of #040c6f
<div style="border: 4px solid #040c6f">Text here</div>
CSS codes
<p style="color:#040c6f">Text here</p>
<div style="background-color:#040c6f">Text here</div>
<div style="border: 4px solid #040c6f">Text here</div>
#040c6f Color on white background
This is how a font and box color of #040c6f will look
on a white background.
#040c6f Color on black background
This is how a font and box color of #040c6f hex color will look
on a black background.