In RGB color space, #0c0fa2 hex color has a red value of 12, a green value of 15 and a blue value of 162.
In CMYK color space (used in color printing), #0c0fa2 hex color is composed of 92.59% cyan, 90.74% magenta, 0% yellow and 36.47% black.
#0c0fa2 color has a hue of 238.8 degrees, a saturation of 86.21% and a lightness of 34.1%.
#0c0fa2 hex color contains mainly BLUE.
The closest web safe color of #0c0fa2 is #000099
#0c0fa2 hex color has a decimal value of 790434.
HEX | 0c0fa2 | #0c0fa2 |
---|---|---|
RGB | 12, 15, 162 | rgb(12, 15, 162) |
RGB Percent | 4.71, 5.88, 63.53 | rgb(4.71, 5.88, 63.53) |
CMYK | 93, 91, 0, 36 | |
HSL | 238.8°, 86.21, 34.1 | hsl(238.8, 86.21%, 34.1%) |
HSV | 238.8°, 92.6, 63.5 |
XYZ | 6.844, 3.028, 34.406 |
---|---|
Hunter Lab | 17.401, 39.753, -105.049 |
CIE-LAB | 20.156, 52.171, -73.887 |
CIE-LCH | 20.156, 90.449, 305.226 |
CIE-LUV | 92.59, 90.74, 0, 36.47 |
Web Safe | 000099 |
RGB percent of color #0c0fa2
CMYK percent of color #0c0fa2
Text with hexadecimal color #0c0fa2
This text has a font color of #0c0fa2
<p style="color:#0c0fa2">Text here</p>
#0c0fa2 Background Color
This box has a background color of #0c0fa2
<div style="background-color:#0c0fa2">Text here</div>
#0c0fa2 Border Color
This box has a border color of #0c0fa2
<div style="border: 4px solid #0c0fa2">Text here</div>
CSS codes
<p style="color:#0c0fa2">Text here</p>
<div style="background-color:#0c0fa2">Text here</div>
<div style="border: 4px solid #0c0fa2">Text here</div>
#0c0fa2 Color on white background
This is how a font and box color of #0c0fa2 will look
on a white background.
#0c0fa2 Color on black background
This is how a font and box color of #0c0fa2 hex color will look
on a black background.