In RGB color space, #510ea6 hex color has a red value of 81, a green value of 14 and a blue value of 166.
In CMYK color space (used in color printing), #510ea6 hex color is composed of 51.2% cyan, 91.57% magenta, 0% yellow and 34.9% black.
#510ea6 color has a hue of 266.4 degrees, a saturation of 84.44% and a lightness of 35.3%.
#510ea6 hex color contains mainly BLUE.
The closest web safe color of #510ea6 is #660099
#510ea6 hex color has a decimal value of 5312166.
HEX | 510ea6 | #510ea6 |
---|---|---|
RGB | 81, 14, 166 | rgb(81, 14, 166) |
RGB Percent | 31.76, 5.49, 65.1 | rgb(31.76, 5.49, 65.1) |
CMYK | 51, 92, 0, 35 | |
HSL | 266.4°, 84.44, 35.3 | hsl(266.4, 84.44%, 35.3%) |
HSV | 266.4°, 91.6, 65.1 |
XYZ | 10.433, 4.817, 36.456 |
---|---|
Hunter Lab | 21.948, 46.443, -83.12 |
CIE-LAB | 26.207, 57.475, -66.107 |
CIE-LCH | 26.207, 87.599, 311.004 |
CIE-LUV | 51.2, 91.57, 0, 34.9 |
Web Safe | 660099 |
RGB percent of color #510ea6
CMYK percent of color #510ea6
Text with hexadecimal color #510ea6
This text has a font color of #510ea6
<p style="color:#510ea6">Text here</p>
#510ea6 Background Color
This box has a background color of #510ea6
<div style="background-color:#510ea6">Text here</div>
#510ea6 Border Color
This box has a border color of #510ea6
<div style="border: 4px solid #510ea6">Text here</div>
CSS codes
<p style="color:#510ea6">Text here</p>
<div style="background-color:#510ea6">Text here</div>
<div style="border: 4px solid #510ea6">Text here</div>
#510ea6 Color on white background
This is how a font and box color of #510ea6 will look
on a white background.
#510ea6 Color on black background
This is how a font and box color of #510ea6 hex color will look
on a black background.