In RGB color space, #0c42f6 hex color has a red value of 12, a green value of 66 and a blue value of 246.
In CMYK color space (used in color printing), #0c42f6 hex color is composed of 95.12% cyan, 73.17% magenta, 0% yellow and 3.53% black.
#0c42f6 color has a hue of 226.2 degrees, a saturation of 92.86% and a lightness of 50.6%.
#0c42f6 hex color contains mainly BLUE.
The closest web safe color of #0c42f6 is #0033ff
#0c42f6 hex color has a decimal value of 803574.
HEX | 0c42f6 | #0c42f6 |
---|---|---|
RGB | 12, 66, 246 | rgb(12, 66, 246) |
RGB Percent | 4.71, 25.88, 96.47 | rgb(4.71, 25.88, 96.47) |
CMYK | 95, 73, 0, 4 | |
HSL | 226.2°, 92.86, 50.6 | hsl(226.2, 92.86%, 50.6%) |
HSV | 226.2°, 95.1, 96.5 |
XYZ | 18.734, 10.628, 88.253 |
---|---|
Hunter Lab | 32.601, 45.524, -137.683 |
CIE-LAB | 38.947, 54.143, -91.739 |
CIE-LCH | 38.947, 106.525, 300.548 |
CIE-LUV | 95.12, 73.17, 0, 3.53 |
Web Safe | 0033ff |
RGB percent of color #0c42f6
CMYK percent of color #0c42f6
Text with hexadecimal color #0c42f6
This text has a font color of #0c42f6
<p style="color:#0c42f6">Text here</p>
#0c42f6 Background Color
This box has a background color of #0c42f6
<div style="background-color:#0c42f6">Text here</div>
#0c42f6 Border Color
This box has a border color of #0c42f6
<div style="border: 4px solid #0c42f6">Text here</div>
CSS codes
<p style="color:#0c42f6">Text here</p>
<div style="background-color:#0c42f6">Text here</div>
<div style="border: 4px solid #0c42f6">Text here</div>
#0c42f6 Color on white background
This is how a font and box color of #0c42f6 will look
on a white background.
#0c42f6 Color on black background
This is how a font and box color of #0c42f6 hex color will look
on a black background.