In RGB color space, #040c6d hex color has a red value of 4, a green value of 12 and a blue value of 109.
In CMYK color space (used in color printing), #040c6d hex color is composed of 96.33% cyan, 88.99% magenta, 0% yellow and 57.25% black.
#040c6d color has a hue of 235.4 degrees, a saturation of 92.92% and a lightness of 22.2%.
#040c6d hex color contains mainly BLUE.
The closest web safe color of #040c6d is #000066
#040c6d hex color has a decimal value of 265325.
HEX | 040c6d | #040c6d |
---|---|---|
RGB | 4, 12, 109 | rgb(4, 12, 109) |
RGB Percent | 1.57, 4.71, 42.75 | rgb(1.57, 4.71, 42.75) |
CMYK | 96, 89, 0, 57 | |
HSL | 235.4°, 92.92, 22.2 | hsl(235.4, 92.92%, 22.2%) |
HSV | 235.4°, 96.3, 42.7 |
XYZ | 2.942, 1.393, 14.582 |
---|---|
Hunter Lab | 11.803, 23.84, -64.991 |
CIE-LAB | 11.911, 36.684, -54.203 |
CIE-LCH | 11.911, 65.45, 304.09 |
CIE-LUV | 96.33, 88.99, 0, 57.25 |
Web Safe | 000066 |
RGB percent of color #040c6d
CMYK percent of color #040c6d
Text with hexadecimal color #040c6d
This text has a font color of #040c6d
<p style="color:#040c6d">Text here</p>
#040c6d Background Color
This box has a background color of #040c6d
<div style="background-color:#040c6d">Text here</div>
#040c6d Border Color
This box has a border color of #040c6d
<div style="border: 4px solid #040c6d">Text here</div>
CSS codes
<p style="color:#040c6d">Text here</p>
<div style="background-color:#040c6d">Text here</div>
<div style="border: 4px solid #040c6d">Text here</div>
#040c6d Color on white background
This is how a font and box color of #040c6d will look
on a white background.
#040c6d Color on black background
This is how a font and box color of #040c6d hex color will look
on a black background.