In RGB color space, #0c0c7e hex color has a red value of 12, a green value of 12 and a blue value of 126.
In CMYK color space (used in color printing), #0c0c7e hex color is composed of 90.48% cyan, 90.48% magenta, 0% yellow and 50.59% black.
#0c0c7e color has a hue of 240 degrees, a saturation of 82.61% and a lightness of 27.1%.
#0c0c7e hex color contains mainly BLUE.
The closest web safe color of #0c0c7e is #000066
#0c0c7e hex color has a decimal value of 789630.
HEX | 0c0c7e | #0c0c7e |
---|---|---|
RGB | 12, 12, 126 | rgb(12, 12, 126) |
RGB Percent | 4.71, 4.71, 49.41 | rgb(4.71, 4.71, 49.41) |
CMYK | 90, 90, 0, 51 | |
HSL | 240°, 82.61, 27.1 | hsl(240, 82.61%, 27.1%) |
HSV | 240°, 90.5, 49.4 |
XYZ | 4.049, 1.847, 19.882 |
---|---|
Hunter Lab | 13.59, 29.397, -77.224 |
CIE-LAB | 14.663, 42.457, -60.598 |
CIE-LCH | 14.663, 73.991, 305.016 |
CIE-LUV | 90.48, 90.48, 0, 50.59 |
Web Safe | 000066 |
RGB percent of color #0c0c7e
CMYK percent of color #0c0c7e
Text with hexadecimal color #0c0c7e
This text has a font color of #0c0c7e
<p style="color:#0c0c7e">Text here</p>
#0c0c7e Background Color
This box has a background color of #0c0c7e
<div style="background-color:#0c0c7e">Text here</div>
#0c0c7e Border Color
This box has a border color of #0c0c7e
<div style="border: 4px solid #0c0c7e">Text here</div>
CSS codes
<p style="color:#0c0c7e">Text here</p>
<div style="background-color:#0c0c7e">Text here</div>
<div style="border: 4px solid #0c0c7e">Text here</div>
#0c0c7e Color on white background
This is how a font and box color of #0c0c7e will look
on a white background.
#0c0c7e Color on black background
This is how a font and box color of #0c0c7e hex color will look
on a black background.