In RGB color space, #512d5c hex color has a red value of 81, a green value of 45 and a blue value of 92.
In CMYK color space (used in color printing), #512d5c hex color is composed of 11.96% cyan, 51.09% magenta, 0% yellow and 63.92% black.
#512d5c color has a hue of 286 degrees, a saturation of 34.31% and a lightness of 26.9%.
#512d5c hex color contains mainly BLUE.
The closest web safe color of #512d5c is #663366
#512d5c hex color has a decimal value of 5320028.
HEX | 512d5c | #512d5c |
---|---|---|
RGB | 81, 45, 92 | rgb(81, 45, 92) |
RGB Percent | 31.76, 17.65, 36.08 | rgb(31.76, 17.65, 36.08) |
CMYK | 12, 51, 0, 64 | |
HSL | 286°, 34.31, 26.9 | hsl(286, 34.31%, 26.9%) |
HSV | 286°, 51.1, 36.1 |
XYZ | 6.263, 4.399, 10.644 |
---|---|
Hunter Lab | 20.974, 16.598, -15.407 |
CIE-LAB | 24.949, 25.449, -21.531 |
CIE-LCH | 24.949, 33.335, 319.767 |
CIE-LUV | 11.96, 51.09, 0, 63.92 |
Web Safe | 663366 |
RGB percent of color #512d5c
CMYK percent of color #512d5c
Text with hexadecimal color #512d5c
This text has a font color of #512d5c
<p style="color:#512d5c">Text here</p>
#512d5c Background Color
This box has a background color of #512d5c
<div style="background-color:#512d5c">Text here</div>
#512d5c Border Color
This box has a border color of #512d5c
<div style="border: 4px solid #512d5c">Text here</div>
CSS codes
<p style="color:#512d5c">Text here</p>
<div style="background-color:#512d5c">Text here</div>
<div style="border: 4px solid #512d5c">Text here</div>
#512d5c Color on white background
This is how a font and box color of #512d5c will look
on a white background.
#512d5c Color on black background
This is how a font and box color of #512d5c hex color will look
on a black background.