In RGB color space, #0c0fab hex color has a red value of 12, a green value of 15 and a blue value of 171.
In CMYK color space (used in color printing), #0c0fab hex color is composed of 92.98% cyan, 91.23% magenta, 0% yellow and 32.94% black.
#0c0fab color has a hue of 238.9 degrees, a saturation of 86.89% and a lightness of 35.9%.
#0c0fab hex color contains mainly BLUE.
The closest web safe color of #0c0fab is #000099
#0c0fab hex color has a decimal value of 790443.
HEX | 0c0fab | #0c0fab |
---|---|---|
RGB | 12, 15, 171 | rgb(12, 15, 171) |
RGB Percent | 4.71, 5.88, 67.06 | rgb(4.71, 5.88, 67.06) |
CMYK | 93, 91, 0, 33 | |
HSL | 238.9°, 86.89, 35.9 | hsl(238.9, 86.89%, 35.9%) |
HSV | 238.9°, 93, 67.1 |
XYZ | 7.673, 3.36, 38.772 |
---|---|
Hunter Lab | 18.33, 42.641, -112.578 |
CIE-LAB | 21.432, 54.753, -77.221 |
CIE-LCH | 21.432, 94.662, 305.338 |
CIE-LUV | 92.98, 91.23, 0, 32.94 |
Web Safe | 000099 |
RGB percent of color #0c0fab
CMYK percent of color #0c0fab
Text with hexadecimal color #0c0fab
This text has a font color of #0c0fab
<p style="color:#0c0fab">Text here</p>
#0c0fab Background Color
This box has a background color of #0c0fab
<div style="background-color:#0c0fab">Text here</div>
#0c0fab Border Color
This box has a border color of #0c0fab
<div style="border: 4px solid #0c0fab">Text here</div>
CSS codes
<p style="color:#0c0fab">Text here</p>
<div style="background-color:#0c0fab">Text here</div>
<div style="border: 4px solid #0c0fab">Text here</div>
#0c0fab Color on white background
This is how a font and box color of #0c0fab will look
on a white background.
#0c0fab Color on black background
This is how a font and box color of #0c0fab hex color will look
on a black background.