In RGB color space, #510ca8 hex color has a red value of 81, a green value of 12 and a blue value of 168.
In CMYK color space (used in color printing), #510ca8 hex color is composed of 51.79% cyan, 92.86% magenta, 0% yellow and 34.12% black.
#510ca8 color has a hue of 266.5 degrees, a saturation of 86.67% and a lightness of 35.3%.
#510ca8 hex color contains mainly BLUE.
The closest web safe color of #510ca8 is #660099
#510ca8 hex color has a decimal value of 5311656.
HEX | 510ca8 | #510ca8 |
---|---|---|
RGB | 81, 12, 168 | rgb(81, 12, 168) |
RGB Percent | 31.76, 4.71, 65.88 | rgb(31.76, 4.71, 65.88) |
CMYK | 52, 93, 0, 34 | |
HSL | 266.5°, 86.67, 35.3 | hsl(266.5, 86.67%, 35.3%) |
HSV | 266.5°, 92.9, 65.9 |
XYZ | 10.593, 4.839, 37.422 |
---|---|
Hunter Lab | 21.998, 47.461, -85.464 |
CIE-LAB | 26.271, 58.416, -67.213 |
CIE-LCH | 26.271, 89.051, 310.994 |
CIE-LUV | 51.79, 92.86, 0, 34.12 |
Web Safe | 660099 |
RGB percent of color #510ca8
CMYK percent of color #510ca8
Text with hexadecimal color #510ca8
This text has a font color of #510ca8
<p style="color:#510ca8">Text here</p>
#510ca8 Background Color
This box has a background color of #510ca8
<div style="background-color:#510ca8">Text here</div>
#510ca8 Border Color
This box has a border color of #510ca8
<div style="border: 4px solid #510ca8">Text here</div>
CSS codes
<p style="color:#510ca8">Text here</p>
<div style="background-color:#510ca8">Text here</div>
<div style="border: 4px solid #510ca8">Text here</div>
#510ca8 Color on white background
This is how a font and box color of #510ca8 will look
on a white background.
#510ca8 Color on black background
This is how a font and box color of #510ca8 hex color will look
on a black background.