In RGB color space, #0c0542 hex color has a red value of 12, a green value of 5 and a blue value of 66.
In CMYK color space (used in color printing), #0c0542 hex color is composed of 81.82% cyan, 92.42% magenta, 0% yellow and 74.12% black.
#0c0542 color has a hue of 246.9 degrees, a saturation of 85.92% and a lightness of 13.9%.
#0c0542 hex color contains mainly BLUE.
The closest web safe color of #0c0542 is #000033
#0c0542 hex color has a decimal value of 787778.
HEX | 0c0542 | #0c0542 |
---|---|---|
RGB | 12, 5, 66 | rgb(12, 5, 66) |
RGB Percent | 4.71, 1.96, 25.88 | rgb(4.71, 1.96, 25.88) |
CMYK | 82, 92, 0, 74 | |
HSL | 246.9°, 85.92, 13.9 | hsl(246.9, 85.92%, 13.9%) |
HSV | 246.9°, 92.4, 25.9 |
XYZ | 1.189, 0.58, 5.204 |
---|---|
Hunter Lab | 7.616, 14.54, -35.183 |
CIE-LAB | 5.239, 24.522, -35.962 |
CIE-LCH | 5.239, 43.527, 304.29 |
CIE-LUV | 81.82, 92.42, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #0c0542
CMYK percent of color #0c0542
Text with hexadecimal color #0c0542
This text has a font color of #0c0542
<p style="color:#0c0542">Text here</p>
#0c0542 Background Color
This box has a background color of #0c0542
<div style="background-color:#0c0542">Text here</div>
#0c0542 Border Color
This box has a border color of #0c0542
<div style="border: 4px solid #0c0542">Text here</div>
CSS codes
<p style="color:#0c0542">Text here</p>
<div style="background-color:#0c0542">Text here</div>
<div style="border: 4px solid #0c0542">Text here</div>
#0c0542 Color on white background
This is how a font and box color of #0c0542 will look
on a white background.
#0c0542 Color on black background
This is how a font and box color of #0c0542 hex color will look
on a black background.