In RGB color space, #0c158f hex color has a red value of 12, a green value of 21 and a blue value of 143.
In CMYK color space (used in color printing), #0c158f hex color is composed of 91.61% cyan, 85.31% magenta, 0% yellow and 43.92% black.
#0c158f color has a hue of 235.9 degrees, a saturation of 84.52% and a lightness of 30.4%.
#0c158f hex color contains mainly BLUE.
The closest web safe color of #0c158f is #000099
#0c158f hex color has a decimal value of 791951.
HEX | 0c158f | #0c158f |
---|---|---|
RGB | 12, 21, 143 | rgb(12, 21, 143) |
RGB Percent | 4.71, 8.24, 56.08 | rgb(4.71, 8.24, 56.08) |
CMYK | 92, 85, 0, 44 | |
HSL | 235.9°, 84.52, 30.4 | hsl(235.9, 84.52%, 30.4%) |
HSV | 235.9°, 91.6, 56.1 |
XYZ | 5.378, 2.598, 26.205 |
---|---|
Hunter Lab | 16.118, 31.351, -85.11 |
CIE-LAB | 18.356, 43.867, -65.17 |
CIE-LCH | 18.356, 78.559, 303.945 |
CIE-LUV | 91.61, 85.31, 0, 43.92 |
Web Safe | 000099 |
RGB percent of color #0c158f
CMYK percent of color #0c158f
Text with hexadecimal color #0c158f
This text has a font color of #0c158f
<p style="color:#0c158f">Text here</p>
#0c158f Background Color
This box has a background color of #0c158f
<div style="background-color:#0c158f">Text here</div>
#0c158f Border Color
This box has a border color of #0c158f
<div style="border: 4px solid #0c158f">Text here</div>
CSS codes
<p style="color:#0c158f">Text here</p>
<div style="background-color:#0c158f">Text here</div>
<div style="border: 4px solid #0c158f">Text here</div>
#0c158f Color on white background
This is how a font and box color of #0c158f will look
on a white background.
#0c158f Color on black background
This is how a font and box color of #0c158f hex color will look
on a black background.