In RGB color space, #0c1542 hex color has a red value of 12, a green value of 21 and a blue value of 66.
In CMYK color space (used in color printing), #0c1542 hex color is composed of 81.82% cyan, 68.18% magenta, 0% yellow and 74.12% black.
#0c1542 color has a hue of 230 degrees, a saturation of 69.23% and a lightness of 15.3%.
#0c1542 hex color contains mainly BLUE.
The closest web safe color of #0c1542 is #000033
#0c1542 hex color has a decimal value of 791874.
HEX | 0c1542 | #0c1542 |
---|---|---|
RGB | 12, 21, 66 | rgb(12, 21, 66) |
RGB Percent | 4.71, 8.24, 25.88 | rgb(4.71, 8.24, 25.88) |
CMYK | 82, 68, 0, 74 | |
HSL | 230°, 69.23, 15.3 | hsl(230, 69.23%, 15.3%) |
HSV | 230°, 81.8, 25.9 |
XYZ | 1.403, 1.008, 5.275 |
---|---|
Hunter Lab | 10.04, 7.374, -24.123 |
CIE-LAB | 9.058, 14.644, -29.706 |
CIE-LCH | 9.058, 33.119, 296.242 |
CIE-LUV | 81.82, 68.18, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #0c1542
CMYK percent of color #0c1542
Text with hexadecimal color #0c1542
This text has a font color of #0c1542
<p style="color:#0c1542">Text here</p>
#0c1542 Background Color
This box has a background color of #0c1542
<div style="background-color:#0c1542">Text here</div>
#0c1542 Border Color
This box has a border color of #0c1542
<div style="border: 4px solid #0c1542">Text here</div>
CSS codes
<p style="color:#0c1542">Text here</p>
<div style="background-color:#0c1542">Text here</div>
<div style="border: 4px solid #0c1542">Text here</div>
#0c1542 Color on white background
This is how a font and box color of #0c1542 will look
on a white background.
#0c1542 Color on black background
This is how a font and box color of #0c1542 hex color will look
on a black background.