In RGB color space, #0c0ceb hex color has a red value of 12, a green value of 12 and a blue value of 235.
In CMYK color space (used in color printing), #0c0ceb hex color is composed of 94.89% cyan, 94.89% magenta, 0% yellow and 7.84% black.
#0c0ceb color has a hue of 240 degrees, a saturation of 90.28% and a lightness of 48.4%.
#0c0ceb hex color contains mainly BLUE.
The closest web safe color of #0c0ceb is #0000ff
#0c0ceb hex color has a decimal value of 789739.
HEX | 0c0ceb | #0c0ceb |
---|---|---|
RGB | 12, 12, 235 | rgb(12, 12, 235) |
RGB Percent | 4.71, 4.71, 92.16 | rgb(4.71, 4.71, 92.16) |
CMYK | 95, 95, 0, 8 | |
HSL | 240°, 90.28, 48.4 | hsl(240, 90.28%, 48.4%) |
HSV | 240°, 94.9, 92.2 |
XYZ | 15.278, 6.339, 79.016 |
---|---|
Hunter Lab | 25.177, 64.256, -168.45 |
CIE-LAB | 30.252, 72.498, -99.983 |
CIE-LCH | 30.252, 123.501, 305.946 |
CIE-LUV | 94.89, 94.89, 0, 7.84 |
Web Safe | 0000ff |
RGB percent of color #0c0ceb
CMYK percent of color #0c0ceb
Text with hexadecimal color #0c0ceb
This text has a font color of #0c0ceb
<p style="color:#0c0ceb">Text here</p>
#0c0ceb Background Color
This box has a background color of #0c0ceb
<div style="background-color:#0c0ceb">Text here</div>
#0c0ceb Border Color
This box has a border color of #0c0ceb
<div style="border: 4px solid #0c0ceb">Text here</div>
CSS codes
<p style="color:#0c0ceb">Text here</p>
<div style="background-color:#0c0ceb">Text here</div>
<div style="border: 4px solid #0c0ceb">Text here</div>
#0c0ceb Color on white background
This is how a font and box color of #0c0ceb will look
on a white background.
#0c0ceb Color on black background
This is how a font and box color of #0c0ceb hex color will look
on a black background.