In RGB color space, #0c42ff hex color has a red value of 12, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #0c42ff hex color is composed of 95.29% cyan, 74.12% magenta, 0% yellow and 0% black.
#0c42ff color has a hue of 226.7 degrees, a saturation of 100% and a lightness of 52.4%.
#0c42ff hex color contains mainly BLUE.
The closest web safe color of #0c42ff is #0033ff
#0c42ff hex color has a decimal value of 803583.
HEX | 0c42ff | #0c42ff |
---|---|---|
RGB | 12, 66, 255 | rgb(12, 66, 255) |
RGB Percent | 4.71, 25.88, 100 | rgb(4.71, 25.88, 100) |
CMYK | 95, 74, 0, 0 | |
HSL | 226.7°, 100, 52.4 | hsl(226.7, 100%, 52.4%) |
HSV | 226.7°, 95.3, 100 |
XYZ | 20.15, 11.195, 95.707 |
---|---|
Hunter Lab | 33.459, 48.945, -146.174 |
CIE-LAB | 39.907, 57.158, -95.192 |
CIE-LCH | 39.907, 111.034, 300.983 |
CIE-LUV | 95.29, 74.12, 0, 0 |
Web Safe | 0033ff |
RGB percent of color #0c42ff
CMYK percent of color #0c42ff
Text with hexadecimal color #0c42ff
This text has a font color of #0c42ff
<p style="color:#0c42ff">Text here</p>
#0c42ff Background Color
This box has a background color of #0c42ff
<div style="background-color:#0c42ff">Text here</div>
#0c42ff Border Color
This box has a border color of #0c42ff
<div style="border: 4px solid #0c42ff">Text here</div>
CSS codes
<p style="color:#0c42ff">Text here</p>
<div style="background-color:#0c42ff">Text here</div>
<div style="border: 4px solid #0c42ff">Text here</div>
#0c42ff Color on white background
This is how a font and box color of #0c42ff will look
on a white background.
#0c42ff Color on black background
This is how a font and box color of #0c42ff hex color will look
on a black background.