In RGB color space, #0c42fa hex color has a red value of 12, a green value of 66 and a blue value of 250.
In CMYK color space (used in color printing), #0c42fa hex color is composed of 95.2% cyan, 73.6% magenta, 0% yellow and 1.96% black.
#0c42fa color has a hue of 226.4 degrees, a saturation of 95.97% and a lightness of 51.4%.
#0c42fa hex color contains mainly BLUE.
The closest web safe color of #0c42fa is #0033ff
#0c42fa hex color has a decimal value of 803578.
HEX | 0c42fa | #0c42fa |
---|---|---|
RGB | 12, 66, 250 | rgb(12, 66, 250) |
RGB Percent | 4.71, 25.88, 98.04 | rgb(4.71, 25.88, 98.04) |
CMYK | 95, 74, 0, 2 | |
HSL | 226.4°, 95.97, 51.4 | hsl(226.4, 95.97%, 51.4%) |
HSV | 226.4°, 95.2, 98 |
XYZ | 19.355, 10.877, 91.522 |
---|---|
Hunter Lab | 32.98, 47.04, -141.447 |
CIE-LAB | 39.373, 55.488, -93.279 |
CIE-LCH | 39.373, 108.535, 300.747 |
CIE-LUV | 95.2, 73.6, 0, 1.96 |
Web Safe | 0033ff |
RGB percent of color #0c42fa
CMYK percent of color #0c42fa
Text with hexadecimal color #0c42fa
This text has a font color of #0c42fa
<p style="color:#0c42fa">Text here</p>
#0c42fa Background Color
This box has a background color of #0c42fa
<div style="background-color:#0c42fa">Text here</div>
#0c42fa Border Color
This box has a border color of #0c42fa
<div style="border: 4px solid #0c42fa">Text here</div>
CSS codes
<p style="color:#0c42fa">Text here</p>
<div style="background-color:#0c42fa">Text here</div>
<div style="border: 4px solid #0c42fa">Text here</div>
#0c42fa Color on white background
This is how a font and box color of #0c42fa will look
on a white background.
#0c42fa Color on black background
This is how a font and box color of #0c42fa hex color will look
on a black background.