In RGB color space, #510172 hex color has a red value of 81, a green value of 1 and a blue value of 114.
In CMYK color space (used in color printing), #510172 hex color is composed of 28.95% cyan, 99.12% magenta, 0% yellow and 55.29% black.
#510172 color has a hue of 282.5 degrees, a saturation of 98.26% and a lightness of 22.5%.
#510172 hex color contains mainly BLUE.
The closest web safe color of #510172 is #660066
#510172 hex color has a decimal value of 5308786.
HEX | 510172 | #510172 |
---|---|---|
RGB | 81, 1, 114 | rgb(81, 1, 114) |
RGB Percent | 31.76, 0.39, 44.71 | rgb(31.76, 0.39, 44.71) |
CMYK | 29, 99, 0, 55 | |
HSL | 282.5°, 98.26, 22.5 | hsl(282.5, 98.26%, 22.5%) |
HSV | 282.5°, 99.1, 44.7 |
XYZ | 6.441, 2.986, 16.156 |
---|---|
Hunter Lab | 17.28, 36.294, -43.337 |
CIE-LAB | 19.988, 48.729, -43.834 |
CIE-LCH | 19.988, 65.543, 318.027 |
CIE-LUV | 28.95, 99.12, 0, 55.29 |
Web Safe | 660066 |
RGB percent of color #510172
CMYK percent of color #510172
Text with hexadecimal color #510172
This text has a font color of #510172
<p style="color:#510172">Text here</p>
#510172 Background Color
This box has a background color of #510172
<div style="background-color:#510172">Text here</div>
#510172 Border Color
This box has a border color of #510172
<div style="border: 4px solid #510172">Text here</div>
CSS codes
<p style="color:#510172">Text here</p>
<div style="background-color:#510172">Text here</div>
<div style="border: 4px solid #510172">Text here</div>
#510172 Color on white background
This is how a font and box color of #510172 will look
on a white background.
#510172 Color on black background
This is how a font and box color of #510172 hex color will look
on a black background.