In RGB color space, #0c0031 hex color has a red value of 12, a green value of 0 and a blue value of 49.
In CMYK color space (used in color printing), #0c0031 hex color is composed of 75.51% cyan, 100% magenta, 0% yellow and 80.78% black.
#0c0031 color has a hue of 254.7 degrees, a saturation of 100% and a lightness of 9.6%.
#0c0031 hex color contains mainly BLUE.
The closest web safe color of #0c0031 is #000033
#0c0031 hex color has a decimal value of 786481.
HEX | 0c0031 | #0c0031 |
---|---|---|
RGB | 12, 0, 49 | rgb(12, 0, 49) |
RGB Percent | 4.71, 0, 19.22 | rgb(4.71, 0, 19.22) |
CMYK | 76, 100, 0, 81 | |
HSL | 254.7°, 100, 9.6 | hsl(254.7, 100%, 9.6%) |
HSV | 254.7°, 100, 19.2 |
XYZ | 0.706, 0.3, 2.926 |
---|---|
Hunter Lab | 5.477, 13.423, -27.839 |
CIE-LAB | 2.71, 17.24, -27.647 |
CIE-LCH | 2.71, 32.582, 301.947 |
CIE-LUV | 75.51, 100, 0, 80.78 |
Web Safe | 000033 |
RGB percent of color #0c0031
CMYK percent of color #0c0031
Text with hexadecimal color #0c0031
This text has a font color of #0c0031
<p style="color:#0c0031">Text here</p>
#0c0031 Background Color
This box has a background color of #0c0031
<div style="background-color:#0c0031">Text here</div>
#0c0031 Border Color
This box has a border color of #0c0031
<div style="border: 4px solid #0c0031">Text here</div>
CSS codes
<p style="color:#0c0031">Text here</p>
<div style="background-color:#0c0031">Text here</div>
<div style="border: 4px solid #0c0031">Text here</div>
#0c0031 Color on white background
This is how a font and box color of #0c0031 will look
on a white background.
#0c0031 Color on black background
This is how a font and box color of #0c0031 hex color will look
on a black background.