In RGB color space, #0c0271 hex color has a red value of 12, a green value of 2 and a blue value of 113.
In CMYK color space (used in color printing), #0c0271 hex color is composed of 89.38% cyan, 98.23% magenta, 0% yellow and 55.69% black.
#0c0271 color has a hue of 245.4 degrees, a saturation of 96.52% and a lightness of 22.5%.
#0c0271 hex color contains mainly BLUE.
The closest web safe color of #0c0271 is #000066
#0c0271 hex color has a decimal value of 787057.
HEX | 0c0271 | #0c0271 |
---|---|---|
RGB | 12, 2, 113 | rgb(12, 2, 113) |
RGB Percent | 4.71, 0.78, 44.31 | rgb(4.71, 0.78, 44.31) |
CMYK | 89, 98, 0, 56 | |
HSL | 245.4°, 96.52, 22.5 | hsl(245.4, 96.52%, 22.5%) |
HSV | 245.4°, 98.2, 44.3 |
XYZ | 3.154, 1.314, 15.71 |
---|---|
Hunter Lab | 11.463, 29.053, -73.233 |
CIE-LAB | 11.373, 42.686, -57.703 |
CIE-LCH | 11.373, 71.776, 306.492 |
CIE-LUV | 89.38, 98.23, 0, 55.69 |
Web Safe | 000066 |
RGB percent of color #0c0271
CMYK percent of color #0c0271
Text with hexadecimal color #0c0271
This text has a font color of #0c0271
<p style="color:#0c0271">Text here</p>
#0c0271 Background Color
This box has a background color of #0c0271
<div style="background-color:#0c0271">Text here</div>
#0c0271 Border Color
This box has a border color of #0c0271
<div style="border: 4px solid #0c0271">Text here</div>
CSS codes
<p style="color:#0c0271">Text here</p>
<div style="background-color:#0c0271">Text here</div>
<div style="border: 4px solid #0c0271">Text here</div>
#0c0271 Color on white background
This is how a font and box color of #0c0271 will look
on a white background.
#0c0271 Color on black background
This is how a font and box color of #0c0271 hex color will look
on a black background.