In RGB color space, #0c0fa9 hex color has a red value of 12, a green value of 15 and a blue value of 169.
In CMYK color space (used in color printing), #0c0fa9 hex color is composed of 92.9% cyan, 91.12% magenta, 0% yellow and 33.73% black.
#0c0fa9 color has a hue of 238.9 degrees, a saturation of 86.74% and a lightness of 35.5%.
#0c0fa9 hex color contains mainly BLUE.
The closest web safe color of #0c0fa9 is #000099
#0c0fa9 hex color has a decimal value of 790441.
HEX | 0c0fa9 | #0c0fa9 |
---|---|---|
RGB | 12, 15, 169 | rgb(12, 15, 169) |
RGB Percent | 4.71, 5.88, 66.27 | rgb(4.71, 5.88, 66.27) |
CMYK | 93, 91, 0, 34 | |
HSL | 238.9°, 86.74, 35.5 | hsl(238.9, 86.74%, 35.5%) |
HSV | 238.9°, 92.9, 66.3 |
XYZ | 7.484, 3.284, 37.776 |
---|---|
Hunter Lab | 18.122, 42.004, -110.908 |
CIE-LAB | 21.147, 54.189, -76.487 |
CIE-LCH | 21.147, 93.737, 305.317 |
CIE-LUV | 92.9, 91.12, 0, 33.73 |
Web Safe | 000099 |
RGB percent of color #0c0fa9
CMYK percent of color #0c0fa9
Text with hexadecimal color #0c0fa9
This text has a font color of #0c0fa9
<p style="color:#0c0fa9">Text here</p>
#0c0fa9 Background Color
This box has a background color of #0c0fa9
<div style="background-color:#0c0fa9">Text here</div>
#0c0fa9 Border Color
This box has a border color of #0c0fa9
<div style="border: 4px solid #0c0fa9">Text here</div>
CSS codes
<p style="color:#0c0fa9">Text here</p>
<div style="background-color:#0c0fa9">Text here</div>
<div style="border: 4px solid #0c0fa9">Text here</div>
#0c0fa9 Color on white background
This is how a font and box color of #0c0fa9 will look
on a white background.
#0c0fa9 Color on black background
This is how a font and box color of #0c0fa9 hex color will look
on a black background.