In RGB color space, #0c00ff hex color has a red value of 12, a green value of 0 and a blue value of 255.
In CMYK color space (used in color printing), #0c00ff hex color is composed of 95.29% cyan, 100% magenta, 0% yellow and 0% black.
#0c00ff color has a hue of 242.8 degrees, a saturation of 100% and a lightness of 50%.
#0c00ff hex color contains mainly BLUE.
The closest web safe color of #0c00ff is #0000ff
#0c00ff hex color has a decimal value of 786687.
HEX | 0c00ff | #0c00ff |
---|---|---|
RGB | 12, 0, 255 | rgb(12, 0, 255) |
RGB Percent | 4.71, 0, 100 | rgb(4.71, 0, 100) |
CMYK | 95, 100, 0, 0 | |
HSL | 242.8°, 100, 50 | hsl(242.8, 100%, 50%) |
HSV | 242.8°, 100, 100 |
XYZ | 18.202, 7.298, 95.057 |
---|---|
Hunter Lab | 27.015, 72.994, -189.713 |
CIE-LAB | 32.476, 79.254, -107.57 |
CIE-LCH | 32.476, 133.613, 306.382 |
CIE-LUV | 95.29, 100, 0, 0 |
Web Safe | 0000ff |
RGB percent of color #0c00ff
CMYK percent of color #0c00ff
Text with hexadecimal color #0c00ff
This text has a font color of #0c00ff
<p style="color:#0c00ff">Text here</p>
#0c00ff Background Color
This box has a background color of #0c00ff
<div style="background-color:#0c00ff">Text here</div>
#0c00ff Border Color
This box has a border color of #0c00ff
<div style="border: 4px solid #0c00ff">Text here</div>
CSS codes
<p style="color:#0c00ff">Text here</p>
<div style="background-color:#0c00ff">Text here</div>
<div style="border: 4px solid #0c00ff">Text here</div>
#0c00ff Color on white background
This is how a font and box color of #0c00ff will look
on a white background.
#0c00ff Color on black background
This is how a font and box color of #0c00ff hex color will look
on a black background.