In RGB color space, #512160 hex color has a red value of 81, a green value of 33 and a blue value of 96.
In CMYK color space (used in color printing), #512160 hex color is composed of 15.63% cyan, 65.63% magenta, 0% yellow and 62.35% black.
#512160 color has a hue of 285.7 degrees, a saturation of 48.84% and a lightness of 25.3%.
#512160 hex color contains mainly BLUE.
The closest web safe color of #512160 is #663366
#512160 hex color has a decimal value of 5316960.
HEX | 512160 | #512160 |
---|---|---|
RGB | 81, 33, 96 | rgb(81, 33, 96) |
RGB Percent | 31.76, 12.94, 37.65 | rgb(31.76, 12.94, 37.65) |
CMYK | 16, 66, 0, 62 | |
HSL | 285.7°, 48.84, 25.3 | hsl(285.7, 48.84%, 25.3%) |
HSV | 285.7°, 65.6, 37.6 |
XYZ | 6.049, 3.682, 11.458 |
---|---|
Hunter Lab | 19.189, 22.69, -21.972 |
CIE-LAB | 22.591, 33.286, -27.887 |
CIE-LCH | 22.591, 43.424, 320.044 |
CIE-LUV | 15.63, 65.63, 0, 62.35 |
Web Safe | 663366 |
RGB percent of color #512160
CMYK percent of color #512160
Text with hexadecimal color #512160
This text has a font color of #512160
<p style="color:#512160">Text here</p>
#512160 Background Color
This box has a background color of #512160
<div style="background-color:#512160">Text here</div>
#512160 Border Color
This box has a border color of #512160
<div style="border: 4px solid #512160">Text here</div>
CSS codes
<p style="color:#512160">Text here</p>
<div style="background-color:#512160">Text here</div>
<div style="border: 4px solid #512160">Text here</div>
#512160 Color on white background
This is how a font and box color of #512160 will look
on a white background.
#512160 Color on black background
This is how a font and box color of #512160 hex color will look
on a black background.