In RGB color space, #5218a2 hex color has a red value of 82, a green value of 24 and a blue value of 162.
In CMYK color space (used in color printing), #5218a2 hex color is composed of 49.38% cyan, 85.19% magenta, 0% yellow and 36.47% black.
#5218a2 color has a hue of 265.2 degrees, a saturation of 74.19% and a lightness of 36.5%.
#5218a2 hex color contains mainly BLUE.
The closest web safe color of #5218a2 is #660099
#5218a2 hex color has a decimal value of 5380258.
HEX | 5218a2 | #5218a2 |
---|---|---|
RGB | 82, 24, 162 | rgb(82, 24, 162) |
RGB Percent | 32.16, 9.41, 63.53 | rgb(32.16, 9.41, 63.53) |
CMYK | 49, 85, 0, 36 | |
HSL | 265.2°, 74.19, 36.5 | hsl(265.2, 74.19%, 36.5%) |
HSV | 265.2°, 85.2, 63.5 |
XYZ | 10.328, 5.056, 34.614 |
---|---|
Hunter Lab | 22.486, 42.638, -75.53 |
CIE-LAB | 26.894, 53.709, -62.544 |
CIE-LCH | 26.894, 82.44, 310.654 |
CIE-LUV | 49.38, 85.19, 0, 36.47 |
Web Safe | 660099 |
RGB percent of color #5218a2
CMYK percent of color #5218a2
Text with hexadecimal color #5218a2
This text has a font color of #5218a2
<p style="color:#5218a2">Text here</p>
#5218a2 Background Color
This box has a background color of #5218a2
<div style="background-color:#5218a2">Text here</div>
#5218a2 Border Color
This box has a border color of #5218a2
<div style="border: 4px solid #5218a2">Text here</div>
CSS codes
<p style="color:#5218a2">Text here</p>
<div style="background-color:#5218a2">Text here</div>
<div style="border: 4px solid #5218a2">Text here</div>
#5218a2 Color on white background
This is how a font and box color of #5218a2 will look
on a white background.
#5218a2 Color on black background
This is how a font and box color of #5218a2 hex color will look
on a black background.