In RGB color space, #510166 hex color has a red value of 81, a green value of 1 and a blue value of 102.
In CMYK color space (used in color printing), #510166 hex color is composed of 20.59% cyan, 99.02% magenta, 0% yellow and 60% black.
#510166 color has a hue of 287.5 degrees, a saturation of 98.06% and a lightness of 20.2%.
#510166 hex color contains mainly BLUE.
The closest web safe color of #510166 is #660066
#510166 hex color has a decimal value of 5308774.
HEX | 510166 | #510166 |
---|---|---|
RGB | 81, 1, 102 | rgb(81, 1, 102) |
RGB Percent | 31.76, 0.39, 40 | rgb(31.76, 0.39, 40) |
CMYK | 21, 99, 0, 60 | |
HSL | 287.5°, 98.06, 20.2 | hsl(287.5, 98.06%, 20.2%) |
HSV | 287.5°, 99, 40 |
XYZ | 5.802, 2.73, 12.792 |
---|---|
Hunter Lab | 16.523, 33.766, -34.337 |
CIE-LAB | 18.928, 46.318, -37.733 |
CIE-LCH | 18.928, 59.742, 320.832 |
CIE-LUV | 20.59, 99.02, 0, 60 |
Web Safe | 660066 |
RGB percent of color #510166
CMYK percent of color #510166
Text with hexadecimal color #510166
This text has a font color of #510166
<p style="color:#510166">Text here</p>
#510166 Background Color
This box has a background color of #510166
<div style="background-color:#510166">Text here</div>
#510166 Border Color
This box has a border color of #510166
<div style="border: 4px solid #510166">Text here</div>
CSS codes
<p style="color:#510166">Text here</p>
<div style="background-color:#510166">Text here</div>
<div style="border: 4px solid #510166">Text here</div>
#510166 Color on white background
This is how a font and box color of #510166 will look
on a white background.
#510166 Color on black background
This is how a font and box color of #510166 hex color will look
on a black background.