In RGB color space, #510152 hex color has a red value of 81, a green value of 1 and a blue value of 82.
In CMYK color space (used in color printing), #510152 hex color is composed of 1.22% cyan, 98.78% magenta, 0% yellow and 67.84% black.
#510152 color has a hue of 299.3 degrees, a saturation of 97.59% and a lightness of 16.3%.
#510152 hex color contains mainly BLUE.
The closest web safe color of #510152 is #660066
#510152 hex color has a decimal value of 5308754.
HEX | 510152 | #510152 |
---|---|---|
RGB | 81, 1, 82 | rgb(81, 1, 82) |
RGB Percent | 31.76, 0.39, 32.16 | rgb(31.76, 0.39, 32.16) |
CMYK | 1, 99, 0, 68 | |
HSL | 299.3°, 97.59, 16.3 | hsl(299.3, 97.59%, 16.3%) |
HSV | 299.3°, 98.8, 32.2 |
XYZ | 4.927, 2.38, 8.182 |
---|---|
Hunter Lab | 15.427, 30.01, -20.646 |
CIE-LAB | 17.367, 42.608, -26.868 |
CIE-LCH | 17.367, 50.372, 327.765 |
CIE-LUV | 1.22, 98.78, 0, 67.84 |
Web Safe | 660066 |
RGB percent of color #510152
CMYK percent of color #510152
Text with hexadecimal color #510152
This text has a font color of #510152
<p style="color:#510152">Text here</p>
#510152 Background Color
This box has a background color of #510152
<div style="background-color:#510152">Text here</div>
#510152 Border Color
This box has a border color of #510152
<div style="border: 4px solid #510152">Text here</div>
CSS codes
<p style="color:#510152">Text here</p>
<div style="background-color:#510152">Text here</div>
<div style="border: 4px solid #510152">Text here</div>
#510152 Color on white background
This is how a font and box color of #510152 will look
on a white background.
#510152 Color on black background
This is how a font and box color of #510152 hex color will look
on a black background.