In RGB color space, #0c0242 hex color has a red value of 12, a green value of 2 and a blue value of 66.
In CMYK color space (used in color printing), #0c0242 hex color is composed of 81.82% cyan, 96.97% magenta, 0% yellow and 74.12% black.
#0c0242 color has a hue of 249.4 degrees, a saturation of 94.12% and a lightness of 13.3%.
#0c0242 hex color contains mainly BLUE.
The closest web safe color of #0c0242 is #000033
#0c0242 hex color has a decimal value of 787010.
HEX | 0c0242 | #0c0242 |
---|---|---|
RGB | 12, 2, 66 | rgb(12, 2, 66) |
RGB Percent | 4.71, 0.78, 25.88 | rgb(4.71, 0.78, 25.88) |
CMYK | 82, 97, 0, 74 | |
HSL | 249.4°, 94.12, 13.3 | hsl(249.4, 94.12%, 13.3%) |
HSV | 249.4°, 97, 25.9 |
XYZ | 1.157, 0.515, 5.193 |
---|---|
Hunter Lab | 7.176, 16.22, -37.88 |
CIE-LAB | 4.652, 26.002, -36.923 |
CIE-LCH | 4.652, 45.16, 305.154 |
CIE-LUV | 81.82, 96.97, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #0c0242
CMYK percent of color #0c0242
Text with hexadecimal color #0c0242
This text has a font color of #0c0242
<p style="color:#0c0242">Text here</p>
#0c0242 Background Color
This box has a background color of #0c0242
<div style="background-color:#0c0242">Text here</div>
#0c0242 Border Color
This box has a border color of #0c0242
<div style="border: 4px solid #0c0242">Text here</div>
CSS codes
<p style="color:#0c0242">Text here</p>
<div style="background-color:#0c0242">Text here</div>
<div style="border: 4px solid #0c0242">Text here</div>
#0c0242 Color on white background
This is how a font and box color of #0c0242 will look
on a white background.
#0c0242 Color on black background
This is how a font and box color of #0c0242 hex color will look
on a black background.