In RGB color space, #512152 hex color has a red value of 81, a green value of 33 and a blue value of 82.
In CMYK color space (used in color printing), #512152 hex color is composed of 1.22% cyan, 59.76% magenta, 0% yellow and 67.84% black.
#512152 color has a hue of 298.8 degrees, a saturation of 42.61% and a lightness of 22.5%.
#512152 hex color contains mainly BLUE.
The closest web safe color of #512152 is #663366
#512152 hex color has a decimal value of 5316946.
HEX | 512152 | #512152 |
---|---|---|
RGB | 81, 33, 82 | rgb(81, 33, 82) |
RGB Percent | 31.76, 12.94, 32.16 | rgb(31.76, 12.94, 32.16) |
CMYK | 1, 60, 0, 68 | |
HSL | 298.8°, 42.61, 22.5 | hsl(298.8, 42.61%, 22.5%) |
HSV | 298.8°, 59.8, 32.2 |
XYZ | 5.46, 3.446, 8.36 |
---|---|
Hunter Lab | 18.563, 20.016, -13.707 |
CIE-LAB | 21.748, 30.217, -19.922 |
CIE-LCH | 21.748, 36.193, 326.603 |
CIE-LUV | 1.22, 59.76, 0, 67.84 |
Web Safe | 663366 |
RGB percent of color #512152
CMYK percent of color #512152
Text with hexadecimal color #512152
This text has a font color of #512152
<p style="color:#512152">Text here</p>
#512152 Background Color
This box has a background color of #512152
<div style="background-color:#512152">Text here</div>
#512152 Border Color
This box has a border color of #512152
<div style="border: 4px solid #512152">Text here</div>
CSS codes
<p style="color:#512152">Text here</p>
<div style="background-color:#512152">Text here</div>
<div style="border: 4px solid #512152">Text here</div>
#512152 Color on white background
This is how a font and box color of #512152 will look
on a white background.
#512152 Color on black background
This is how a font and box color of #512152 hex color will look
on a black background.