In RGB color space, #512460 hex color has a red value of 81, a green value of 36 and a blue value of 96.
In CMYK color space (used in color printing), #512460 hex color is composed of 15.63% cyan, 62.5% magenta, 0% yellow and 62.35% black.
#512460 color has a hue of 285 degrees, a saturation of 45.45% and a lightness of 25.9%.
#512460 hex color contains mainly BLUE.
The closest web safe color of #512460 is #663366
#512460 hex color has a decimal value of 5317728.
HEX | 512460 | #512460 |
---|---|---|
RGB | 81, 36, 96 | rgb(81, 36, 96) |
RGB Percent | 31.76, 14.12, 37.65 | rgb(31.76, 14.12, 37.65) |
CMYK | 16, 63, 0, 62 | |
HSL | 285°, 45.45, 25.9 | hsl(285, 45.45%, 25.9%) |
HSV | 285°, 62.5, 37.6 |
XYZ | 6.136, 3.856, 11.487 |
---|---|
Hunter Lab | 19.637, 21.413, -20.938 |
CIE-LAB | 23.19, 31.659, -26.935 |
CIE-LCH | 23.19, 41.567, 319.609 |
CIE-LUV | 15.63, 62.5, 0, 62.35 |
Web Safe | 663366 |
RGB percent of color #512460
CMYK percent of color #512460
Text with hexadecimal color #512460
This text has a font color of #512460
<p style="color:#512460">Text here</p>
#512460 Background Color
This box has a background color of #512460
<div style="background-color:#512460">Text here</div>
#512460 Border Color
This box has a border color of #512460
<div style="border: 4px solid #512460">Text here</div>
CSS codes
<p style="color:#512460">Text here</p>
<div style="background-color:#512460">Text here</div>
<div style="border: 4px solid #512460">Text here</div>
#512460 Color on white background
This is how a font and box color of #512460 will look
on a white background.
#512460 Color on black background
This is how a font and box color of #512460 hex color will look
on a black background.