In RGB color space, #0c0fa8 hex color has a red value of 12, a green value of 15 and a blue value of 168.
In CMYK color space (used in color printing), #0c0fa8 hex color is composed of 92.86% cyan, 91.07% magenta, 0% yellow and 34.12% black.
#0c0fa8 color has a hue of 238.8 degrees, a saturation of 86.67% and a lightness of 35.3%.
#0c0fa8 hex color contains mainly BLUE.
The closest web safe color of #0c0fa8 is #000099
#0c0fa8 hex color has a decimal value of 790440.
HEX | 0c0fa8 | #0c0fa8 |
---|---|---|
RGB | 12, 15, 168 | rgb(12, 15, 168) |
RGB Percent | 4.71, 5.88, 65.88 | rgb(4.71, 5.88, 65.88) |
CMYK | 93, 91, 0, 34 | |
HSL | 238.8°, 86.67, 35.3 | hsl(238.8, 86.67%, 35.3%) |
HSV | 238.8°, 92.9, 65.9 |
XYZ | 7.39, 3.247, 37.283 |
---|---|
Hunter Lab | 18.019, 41.671, -110.06 |
CIE-LAB | 21.007, 53.892, -76.115 |
CIE-LCH | 21.007, 93.262, 305.3 |
CIE-LUV | 92.86, 91.07, 0, 34.12 |
Web Safe | 000099 |
RGB percent of color #0c0fa8
CMYK percent of color #0c0fa8
Text with hexadecimal color #0c0fa8
This text has a font color of #0c0fa8
<p style="color:#0c0fa8">Text here</p>
#0c0fa8 Background Color
This box has a background color of #0c0fa8
<div style="background-color:#0c0fa8">Text here</div>
#0c0fa8 Border Color
This box has a border color of #0c0fa8
<div style="border: 4px solid #0c0fa8">Text here</div>
CSS codes
<p style="color:#0c0fa8">Text here</p>
<div style="background-color:#0c0fa8">Text here</div>
<div style="border: 4px solid #0c0fa8">Text here</div>
#0c0fa8 Color on white background
This is how a font and box color of #0c0fa8 will look
on a white background.
#0c0fa8 Color on black background
This is how a font and box color of #0c0fa8 hex color will look
on a black background.