In RGB color space, #040c4d hex color has a red value of 4, a green value of 12 and a blue value of 77.
In CMYK color space (used in color printing), #040c4d hex color is composed of 94.81% cyan, 84.42% magenta, 0% yellow and 69.8% black.
#040c4d color has a hue of 233.4 degrees, a saturation of 90.12% and a lightness of 15.9%.
#040c4d hex color contains mainly BLUE.
The closest web safe color of #040c4d is #000066
#040c4d hex color has a decimal value of 265293.
HEX | 040c4d | #040c4d |
---|---|---|
RGB | 4, 12, 77 | rgb(4, 12, 77) |
RGB Percent | 1.57, 4.71, 30.2 | rgb(1.57, 4.71, 30.2) |
CMYK | 95, 84, 0, 70 | |
HSL | 233.4°, 90.12, 15.9 | hsl(233.4, 90.12%, 15.9%) |
HSV | 233.4°, 94.8, 30.2 |
XYZ | 1.521, 0.825, 7.1 |
---|---|
Hunter Lab | 9.083, 13.996, -39.988 |
CIE-LAB | 7.452, 24.912, -40.065 |
CIE-LCH | 7.452, 47.179, 301.873 |
CIE-LUV | 94.81, 84.42, 0, 69.8 |
Web Safe | 000066 |
RGB percent of color #040c4d
CMYK percent of color #040c4d
Text with hexadecimal color #040c4d
This text has a font color of #040c4d
<p style="color:#040c4d">Text here</p>
#040c4d Background Color
This box has a background color of #040c4d
<div style="background-color:#040c4d">Text here</div>
#040c4d Border Color
This box has a border color of #040c4d
<div style="border: 4px solid #040c4d">Text here</div>
CSS codes
<p style="color:#040c4d">Text here</p>
<div style="background-color:#040c4d">Text here</div>
<div style="border: 4px solid #040c4d">Text here</div>
#040c4d Color on white background
This is how a font and box color of #040c4d will look
on a white background.
#040c4d Color on black background
This is how a font and box color of #040c4d hex color will look
on a black background.