In RGB color space, #520042 hex color has a red value of 82, a green value of 0 and a blue value of 66.
In CMYK color space (used in color printing), #520042 hex color is composed of 0% cyan, 100% magenta, 19.51% yellow and 67.84% black.
#520042 color has a hue of 311.7 degrees, a saturation of 100% and a lightness of 16.1%.
#520042 hex color contains mainly RED.
The closest web safe color of #520042 is #660033
#520042 hex color has a decimal value of 5374018.
HEX | 520042 | #520042 |
---|---|---|
RGB | 82, 0, 66 | rgb(82, 0, 66) |
RGB Percent | 32.16, 0, 25.88 | rgb(32.16, 0, 25.88) |
CMYK | 0, 100, 20, 68 | |
HSL | 311.7°, 100, 16.1 | hsl(311.7, 100%, 16.1%) |
HSV | 311.7°, 100, 32.2 |
XYZ | 4.463, 2.187, 5.341 |
---|---|
Hunter Lab | 14.789, 27.989, -11.061 |
CIE-LAB | 16.44, 40.559, -17.282 |
CIE-LCH | 16.44, 44.087, 336.921 |
CIE-LUV | 0, 100, 19.51, 67.84 |
Web Safe | 660033 |
RGB percent of color #520042
CMYK percent of color #520042
Text with hexadecimal color #520042
This text has a font color of #520042
<p style="color:#520042">Text here</p>
#520042 Background Color
This box has a background color of #520042
<div style="background-color:#520042">Text here</div>
#520042 Border Color
This box has a border color of #520042
<div style="border: 4px solid #520042">Text here</div>
CSS codes
<p style="color:#520042">Text here</p>
<div style="background-color:#520042">Text here</div>
<div style="border: 4px solid #520042">Text here</div>
#520042 Color on white background
This is how a font and box color of #520042 will look
on a white background.
#520042 Color on black background
This is how a font and box color of #520042 hex color will look
on a black background.