In RGB color space, #000cec hex color has a red value of 0, a green value of 12 and a blue value of 236.
In CMYK color space (used in color printing), #000cec hex color is composed of 100% cyan, 94.92% magenta, 0% yellow and 7.45% black.
#000cec color has a hue of 236.9 degrees, a saturation of 100% and a lightness of 46.3%.
#000cec hex color contains mainly BLUE.
The closest web safe color of #000cec is #0000ff
#000cec hex color has a decimal value of 3308.
HEX | 000cec | #000cec |
---|---|---|
RGB | 0, 12, 236 | rgb(0, 12, 236) |
RGB Percent | 0, 4.71, 92.55 | rgb(0, 4.71, 92.55) |
CMYK | 100, 95, 0, 7 | |
HSL | 236.9°, 100, 46.3 | hsl(236.9, 100%, 46.3%) |
HSV | 236.9°, 100, 92.5 |
XYZ | 15.272, 6.319, 79.772 |
---|---|
Hunter Lab | 25.138, 64.454, -170.555 |
CIE-LAB | 30.203, 72.672, -100.638 |
CIE-LCH | 30.203, 124.134, 305.834 |
CIE-LUV | 100, 94.92, 0, 7.45 |
Web Safe | 0000ff |
RGB percent of color #000cec
CMYK percent of color #000cec
Text with hexadecimal color #000cec
This text has a font color of #000cec
<p style="color:#000cec">Text here</p>
#000cec Background Color
This box has a background color of #000cec
<div style="background-color:#000cec">Text here</div>
#000cec Border Color
This box has a border color of #000cec
<div style="border: 4px solid #000cec">Text here</div>
CSS codes
<p style="color:#000cec">Text here</p>
<div style="background-color:#000cec">Text here</div>
<div style="border: 4px solid #000cec">Text here</div>
#000cec Color on white background
This is how a font and box color of #000cec will look
on a white background.
#000cec Color on black background
This is how a font and box color of #000cec hex color will look
on a black background.