In RGB color space, #0c0040 hex color has a red value of 12, a green value of 0 and a blue value of 64.
In CMYK color space (used in color printing), #0c0040 hex color is composed of 81.25% cyan, 100% magenta, 0% yellow and 74.9% black.
#0c0040 color has a hue of 251.3 degrees, a saturation of 100% and a lightness of 12.5%.
#0c0040 hex color contains mainly BLUE.
The closest web safe color of #0c0040 is #000033
#0c0040 hex color has a decimal value of 786496.
HEX | 0c0040 | #0c0040 |
---|---|---|
RGB | 12, 0, 64 | rgb(12, 0, 64) |
RGB Percent | 4.71, 0, 25.1 | rgb(4.71, 0, 25.1) |
CMYK | 81, 100, 0, 75 | |
HSL | 251.3°, 100, 12.5 | hsl(251.3, 100%, 12.5%) |
HSV | 251.3°, 100, 25.1 |
XYZ | 1.077, 0.448, 4.88 |
---|---|
Hunter Lab | 6.693, 17.009, -38.542 |
CIE-LAB | 4.047, 25.896, -36.479 |
CIE-LCH | 4.047, 44.736, 305.37 |
CIE-LUV | 81.25, 100, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #0c0040
CMYK percent of color #0c0040
Text with hexadecimal color #0c0040
This text has a font color of #0c0040
<p style="color:#0c0040">Text here</p>
#0c0040 Background Color
This box has a background color of #0c0040
<div style="background-color:#0c0040">Text here</div>
#0c0040 Border Color
This box has a border color of #0c0040
<div style="border: 4px solid #0c0040">Text here</div>
CSS codes
<p style="color:#0c0040">Text here</p>
<div style="background-color:#0c0040">Text here</div>
<div style="border: 4px solid #0c0040">Text here</div>
#0c0040 Color on white background
This is how a font and box color of #0c0040 will look
on a white background.
#0c0040 Color on black background
This is how a font and box color of #0c0040 hex color will look
on a black background.