In RGB color space, #0c0842 hex color has a red value of 12, a green value of 8 and a blue value of 66.
In CMYK color space (used in color printing), #0c0842 hex color is composed of 81.82% cyan, 87.88% magenta, 0% yellow and 74.12% black.
#0c0842 color has a hue of 244.1 degrees, a saturation of 78.38% and a lightness of 14.5%.
#0c0842 hex color contains mainly BLUE.
The closest web safe color of #0c0842 is #000033
#0c0842 hex color has a decimal value of 788546.
HEX | 0c0842 | #0c0842 |
---|---|---|
RGB | 12, 8, 66 | rgb(12, 8, 66) |
RGB Percent | 4.71, 3.14, 25.88 | rgb(4.71, 3.14, 25.88) |
CMYK | 82, 88, 0, 74 | |
HSL | 244.1°, 78.38, 14.5 | hsl(244.1, 78.38%, 14.5%) |
HSV | 244.1°, 87.9, 25.9 |
XYZ | 1.222, 0.645, 5.214 |
---|---|
Hunter Lab | 8.031, 13.105, -32.87 |
CIE-LAB | 5.826, 23.055, -34.996 |
CIE-LCH | 5.826, 41.908, 303.376 |
CIE-LUV | 81.82, 87.88, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #0c0842
CMYK percent of color #0c0842
Text with hexadecimal color #0c0842
This text has a font color of #0c0842
<p style="color:#0c0842">Text here</p>
#0c0842 Background Color
This box has a background color of #0c0842
<div style="background-color:#0c0842">Text here</div>
#0c0842 Border Color
This box has a border color of #0c0842
<div style="border: 4px solid #0c0842">Text here</div>
CSS codes
<p style="color:#0c0842">Text here</p>
<div style="background-color:#0c0842">Text here</div>
<div style="border: 4px solid #0c0842">Text here</div>
#0c0842 Color on white background
This is how a font and box color of #0c0842 will look
on a white background.
#0c0842 Color on black background
This is how a font and box color of #0c0842 hex color will look
on a black background.