In RGB color space, #0c0cb2 hex color has a red value of 12, a green value of 12 and a blue value of 178.
In CMYK color space (used in color printing), #0c0cb2 hex color is composed of 93.26% cyan, 93.26% magenta, 0% yellow and 30.2% black.
#0c0cb2 color has a hue of 240 degrees, a saturation of 87.37% and a lightness of 37.3%.
#0c0cb2 hex color contains mainly BLUE.
The closest web safe color of #0c0cb2 is #000099
#0c0cb2 hex color has a decimal value of 789682.
HEX | 0c0cb2 | #0c0cb2 |
---|---|---|
RGB | 12, 12, 178 | rgb(12, 12, 178) |
RGB Percent | 4.71, 4.71, 69.8 | rgb(4.71, 4.71, 69.8) |
CMYK | 93, 93, 0, 30 | |
HSL | 240°, 87.37, 37.3 | hsl(240, 87.37%, 37.3%) |
HSV | 240°, 93.3, 69.8 |
XYZ | 8.319, 3.555, 42.367 |
---|---|
Hunter Lab | 18.855, 45.761, -120.028 |
CIE-LAB | 22.142, 57.592, -80.249 |
CIE-LCH | 22.142, 98.776, 305.666 |
CIE-LUV | 93.26, 93.26, 0, 30.2 |
Web Safe | 000099 |
RGB percent of color #0c0cb2
CMYK percent of color #0c0cb2
Text with hexadecimal color #0c0cb2
This text has a font color of #0c0cb2
<p style="color:#0c0cb2">Text here</p>
#0c0cb2 Background Color
This box has a background color of #0c0cb2
<div style="background-color:#0c0cb2">Text here</div>
#0c0cb2 Border Color
This box has a border color of #0c0cb2
<div style="border: 4px solid #0c0cb2">Text here</div>
CSS codes
<p style="color:#0c0cb2">Text here</p>
<div style="background-color:#0c0cb2">Text here</div>
<div style="border: 4px solid #0c0cb2">Text here</div>
#0c0cb2 Color on white background
This is how a font and box color of #0c0cb2 will look
on a white background.
#0c0cb2 Color on black background
This is how a font and box color of #0c0cb2 hex color will look
on a black background.