In RGB color space, #512840 hex color has a red value of 81, a green value of 40 and a blue value of 64.
In CMYK color space (used in color printing), #512840 hex color is composed of 0% cyan, 50.62% magenta, 20.99% yellow and 68.24% black.
#512840 color has a hue of 324.9 degrees, a saturation of 33.88% and a lightness of 23.7%.
#512840 hex color contains mainly RED.
The closest web safe color of #512840 is #663333
#512840 hex color has a decimal value of 5318720.
HEX | 512840 | #512840 |
---|---|---|
RGB | 81, 40, 64 | rgb(81, 40, 64) |
RGB Percent | 31.76, 15.69, 25.1 | rgb(31.76, 15.69, 25.1) |
CMYK | 0, 51, 21, 68 | |
HSL | 324.9°, 33.88, 23.7 | hsl(324.9, 33.88%, 23.7%) |
HSV | 324.9°, 50.6, 31.8 |
XYZ | 5.078, 3.637, 5.285 |
---|---|
Hunter Lab | 19.071, 14.155, -3.081 |
CIE-LAB | 22.433, 22.656, -6.692 |
CIE-LCH | 22.433, 23.624, 343.544 |
CIE-LUV | 0, 50.62, 20.99, 68.24 |
Web Safe | 663333 |
RGB percent of color #512840
CMYK percent of color #512840
Text with hexadecimal color #512840
This text has a font color of #512840
<p style="color:#512840">Text here</p>
#512840 Background Color
This box has a background color of #512840
<div style="background-color:#512840">Text here</div>
#512840 Border Color
This box has a border color of #512840
<div style="border: 4px solid #512840">Text here</div>
CSS codes
<p style="color:#512840">Text here</p>
<div style="background-color:#512840">Text here</div>
<div style="border: 4px solid #512840">Text here</div>
#512840 Color on white background
This is how a font and box color of #512840 will look
on a white background.
#512840 Color on black background
This is how a font and box color of #512840 hex color will look
on a black background.