In RGB color space, #0c42e4 hex color has a red value of 12, a green value of 66 and a blue value of 228.
In CMYK color space (used in color printing), #0c42e4 hex color is composed of 94.74% cyan, 71.05% magenta, 0% yellow and 10.59% black.
#0c42e4 color has a hue of 225 degrees, a saturation of 90% and a lightness of 47.1%.
#0c42e4 hex color contains mainly BLUE.
The closest web safe color of #0c42e4 is #0033cc
#0c42e4 hex color has a decimal value of 803556.
HEX | 0c42e4 | #0c42e4 |
---|---|---|
RGB | 12, 66, 228 | rgb(12, 66, 228) |
RGB Percent | 4.71, 25.88, 89.41 | rgb(4.71, 25.88, 89.41) |
CMYK | 95, 71, 0, 11 | |
HSL | 225°, 90, 47.1 | hsl(225, 90%, 47.1%) |
HSV | 225°, 94.7, 89.4 |
XYZ | 16.103, 9.576, 74.398 |
---|---|
Hunter Lab | 30.945, 38.733, -120.883 |
CIE-LAB | 37.07, 47.916, -84.655 |
CIE-LCH | 37.07, 97.275, 299.511 |
CIE-LUV | 94.74, 71.05, 0, 10.59 |
Web Safe | 0033cc |
RGB percent of color #0c42e4
CMYK percent of color #0c42e4
Text with hexadecimal color #0c42e4
This text has a font color of #0c42e4
<p style="color:#0c42e4">Text here</p>
#0c42e4 Background Color
This box has a background color of #0c42e4
<div style="background-color:#0c42e4">Text here</div>
#0c42e4 Border Color
This box has a border color of #0c42e4
<div style="border: 4px solid #0c42e4">Text here</div>
CSS codes
<p style="color:#0c42e4">Text here</p>
<div style="background-color:#0c42e4">Text here</div>
<div style="border: 4px solid #0c42e4">Text here</div>
#0c42e4 Color on white background
This is how a font and box color of #0c42e4 will look
on a white background.
#0c42e4 Color on black background
This is how a font and box color of #0c42e4 hex color will look
on a black background.