In RGB color space, #0c0540 hex color has a red value of 12, a green value of 5 and a blue value of 64.
In CMYK color space (used in color printing), #0c0540 hex color is composed of 81.25% cyan, 92.19% magenta, 0% yellow and 74.9% black.
#0c0540 color has a hue of 247.1 degrees, a saturation of 85.51% and a lightness of 13.5%.
#0c0540 hex color contains mainly BLUE.
The closest web safe color of #0c0540 is #000033
#0c0540 hex color has a decimal value of 787776.
HEX | 0c0540 | #0c0540 |
---|---|---|
RGB | 12, 5, 64 | rgb(12, 5, 64) |
RGB Percent | 4.71, 1.96, 25.1 | rgb(4.71, 1.96, 25.1) |
CMYK | 81, 92, 0, 75 | |
HSL | 247.1°, 85.51, 13.5 | hsl(247.1, 85.51%, 13.5%) |
HSV | 247.1°, 92.2, 25.1 |
XYZ | 1.131, 0.557, 4.898 |
---|---|
Hunter Lab | 7.463, 13.99, -33.687 |
CIE-LAB | 5.031, 23.498, -34.869 |
CIE-LCH | 5.031, 42.048, 303.976 |
CIE-LUV | 81.25, 92.19, 0, 74.9 |
Web Safe | 000033 |
RGB percent of color #0c0540
CMYK percent of color #0c0540
Text with hexadecimal color #0c0540
This text has a font color of #0c0540
<p style="color:#0c0540">Text here</p>
#0c0540 Background Color
This box has a background color of #0c0540
<div style="background-color:#0c0540">Text here</div>
#0c0540 Border Color
This box has a border color of #0c0540
<div style="border: 4px solid #0c0540">Text here</div>
CSS codes
<p style="color:#0c0540">Text here</p>
<div style="background-color:#0c0540">Text here</div>
<div style="border: 4px solid #0c0540">Text here</div>
#0c0540 Color on white background
This is how a font and box color of #0c0540 will look
on a white background.
#0c0540 Color on black background
This is how a font and box color of #0c0540 hex color will look
on a black background.