In RGB color space, #512851 hex color has a red value of 81, a green value of 40 and a blue value of 81.
In CMYK color space (used in color printing), #512851 hex color is composed of 0% cyan, 50.62% magenta, 0% yellow and 68.24% black.
#512851 color has a hue of 300 degrees, a saturation of 33.88% and a lightness of 23.7%.
#512851 hex color contains mainly RED.
The closest web safe color of #512851 is #663366
#512851 hex color has a decimal value of 5318737.
HEX | 512851 | #512851 |
---|---|---|
RGB | 81, 40, 81 | rgb(81, 40, 81) |
RGB Percent | 31.76, 15.69, 31.76 | rgb(31.76, 15.69, 31.76) |
CMYK | 0, 51, 0, 68 | |
HSL | 300°, 33.88, 23.7 | hsl(300, 33.88%, 23.7%) |
HSV | 300°, 50.6, 31.8 |
XYZ | 5.637, 3.861, 8.233 |
---|---|
Hunter Lab | 19.649, 16.821, -11.088 |
CIE-LAB | 23.206, 25.994, -16.975 |
CIE-LCH | 23.206, 31.046, 326.854 |
CIE-LUV | 0, 50.62, 0, 68.24 |
Web Safe | 663366 |
RGB percent of color #512851
CMYK percent of color #512851
Text with hexadecimal color #512851
This text has a font color of #512851
<p style="color:#512851">Text here</p>
#512851 Background Color
This box has a background color of #512851
<div style="background-color:#512851">Text here</div>
#512851 Border Color
This box has a border color of #512851
<div style="border: 4px solid #512851">Text here</div>
CSS codes
<p style="color:#512851">Text here</p>
<div style="background-color:#512851">Text here</div>
<div style="border: 4px solid #512851">Text here</div>
#512851 Color on white background
This is how a font and box color of #512851 will look
on a white background.
#512851 Color on black background
This is how a font and box color of #512851 hex color will look
on a black background.