In RGB color space, #512a51 hex color has a red value of 81, a green value of 42 and a blue value of 81.
In CMYK color space (used in color printing), #512a51 hex color is composed of 0% cyan, 48.15% magenta, 0% yellow and 68.24% black.
#512a51 color has a hue of 300 degrees, a saturation of 31.71% and a lightness of 24.1%.
#512a51 hex color contains mainly RED.
The closest web safe color of #512a51 is #663366
#512a51 hex color has a decimal value of 5319249.
HEX | 512a51 | #512a51 |
---|---|---|
RGB | 81, 42, 81 | rgb(81, 42, 81) |
RGB Percent | 31.76, 16.47, 31.76 | rgb(31.76, 16.47, 31.76) |
CMYK | 0, 48, 0, 68 | |
HSL | 300°, 31.71, 24.1 | hsl(300, 31.71%, 24.1%) |
HSV | 300°, 48.1, 31.8 |
XYZ | 5.707, 3.999, 8.256 |
---|---|
Hunter Lab | 19.997, 15.946, -10.48 |
CIE-LAB | 23.668, 24.808, -16.258 |
CIE-LCH | 23.668, 29.661, 326.761 |
CIE-LUV | 0, 48.15, 0, 68.24 |
Web Safe | 663366 |
RGB percent of color #512a51
CMYK percent of color #512a51
Text with hexadecimal color #512a51
This text has a font color of #512a51
<p style="color:#512a51">Text here</p>
#512a51 Background Color
This box has a background color of #512a51
<div style="background-color:#512a51">Text here</div>
#512a51 Border Color
This box has a border color of #512a51
<div style="border: 4px solid #512a51">Text here</div>
CSS codes
<p style="color:#512a51">Text here</p>
<div style="background-color:#512a51">Text here</div>
<div style="border: 4px solid #512a51">Text here</div>
#512a51 Color on white background
This is how a font and box color of #512a51 will look
on a white background.
#512a51 Color on black background
This is how a font and box color of #512a51 hex color will look
on a black background.