In RGB color space, #0c21ff hex color has a red value of 12, a green value of 33 and a blue value of 255.
In CMYK color space (used in color printing), #0c21ff hex color is composed of 95.29% cyan, 87.06% magenta, 0% yellow and 0% black.
#0c21ff color has a hue of 234.8 degrees, a saturation of 100% and a lightness of 52.4%.
#0c21ff hex color contains mainly BLUE.
The closest web safe color of #0c21ff is #0033ff
#0c21ff hex color has a decimal value of 795135.
HEX | 0c21ff | #0c21ff |
---|---|---|
RGB | 12, 33, 255 | rgb(12, 33, 255) |
RGB Percent | 4.71, 12.94, 100 | rgb(4.71, 12.94, 100) |
CMYK | 95, 87, 0, 0 | |
HSL | 234.8°, 100, 52.4 | hsl(234.8, 100%, 52.4%) |
HSV | 234.8°, 95.3, 100 |
XYZ | 18.745, 8.386, 95.238 |
---|---|
Hunter Lab | 28.959, 64.866, -174.72 |
CIE-LAB | 34.774, 72.186, -103.728 |
CIE-LCH | 34.774, 126.374, 304.835 |
CIE-LUV | 95.29, 87.06, 0, 0 |
Web Safe | 0033ff |
RGB percent of color #0c21ff
CMYK percent of color #0c21ff
Text with hexadecimal color #0c21ff
This text has a font color of #0c21ff
<p style="color:#0c21ff">Text here</p>
#0c21ff Background Color
This box has a background color of #0c21ff
<div style="background-color:#0c21ff">Text here</div>
#0c21ff Border Color
This box has a border color of #0c21ff
<div style="border: 4px solid #0c21ff">Text here</div>
CSS codes
<p style="color:#0c21ff">Text here</p>
<div style="background-color:#0c21ff">Text here</div>
<div style="border: 4px solid #0c21ff">Text here</div>
#0c21ff Color on white background
This is how a font and box color of #0c21ff will look
on a white background.
#0c21ff Color on black background
This is how a font and box color of #0c21ff hex color will look
on a black background.