In RGB color space, #510cec hex color has a red value of 81, a green value of 12 and a blue value of 236.
In CMYK color space (used in color printing), #510cec hex color is composed of 65.68% cyan, 94.92% magenta, 0% yellow and 7.45% black.
#510cec color has a hue of 258.5 degrees, a saturation of 90.32% and a lightness of 48.6%.
#510cec hex color contains mainly BLUE.
The closest web safe color of #510cec is #6600ff
#510cec hex color has a decimal value of 5311724.
HEX | 510cec | #510cec |
---|---|---|
RGB | 81, 12, 236 | rgb(81, 12, 236) |
RGB Percent | 31.76, 4.71, 92.55 | rgb(31.76, 4.71, 92.55) |
CMYK | 66, 95, 0, 7 | |
HSL | 258.5°, 90.32, 48.6 | hsl(258.5, 90.32%, 48.6%) |
HSV | 258.5°, 94.9, 92.5 |
XYZ | 18.665, 8.068, 79.93 |
---|---|
Hunter Lab | 28.404, 67.589, -146.96 |
CIE-LAB | 34.124, 74.573, -93.997 |
CIE-LCH | 34.124, 119.986, 308.427 |
CIE-LUV | 65.68, 94.92, 0, 7.45 |
Web Safe | 6600ff |
RGB percent of color #510cec
CMYK percent of color #510cec
Text with hexadecimal color #510cec
This text has a font color of #510cec
<p style="color:#510cec">Text here</p>
#510cec Background Color
This box has a background color of #510cec
<div style="background-color:#510cec">Text here</div>
#510cec Border Color
This box has a border color of #510cec
<div style="border: 4px solid #510cec">Text here</div>
CSS codes
<p style="color:#510cec">Text here</p>
<div style="background-color:#510cec">Text here</div>
<div style="border: 4px solid #510cec">Text here</div>
#510cec Color on white background
This is how a font and box color of #510cec will look
on a white background.
#510cec Color on black background
This is how a font and box color of #510cec hex color will look
on a black background.