In RGB color space, #5218b2 hex color has a red value of 82, a green value of 24 and a blue value of 178.
In CMYK color space (used in color printing), #5218b2 hex color is composed of 53.93% cyan, 86.52% magenta, 0% yellow and 30.2% black.
#5218b2 color has a hue of 262.6 degrees, a saturation of 76.24% and a lightness of 39.6%.
#5218b2 hex color contains mainly BLUE.
The closest web safe color of #5218b2 is #660099
#5218b2 hex color has a decimal value of 5380274.
HEX | 5218b2 | #5218b2 |
---|---|---|
RGB | 82, 24, 178 | rgb(82, 24, 178) |
RGB Percent | 32.16, 9.41, 69.8 | rgb(32.16, 9.41, 69.8) |
CMYK | 54, 87, 0, 30 | |
HSL | 262.6°, 76.24, 39.6 | hsl(262.6, 76.24%, 39.6%) |
HSV | 262.6°, 86.5, 69.8 |
XYZ | 11.842, 5.661, 42.588 |
---|---|
Hunter Lab | 23.793, 47.204, -89.471 |
CIE-LAB | 28.541, 57.742, -69.47 |
CIE-LCH | 28.541, 90.334, 309.733 |
CIE-LUV | 53.93, 86.52, 0, 30.2 |
Web Safe | 660099 |
RGB percent of color #5218b2
CMYK percent of color #5218b2
Text with hexadecimal color #5218b2
This text has a font color of #5218b2
<p style="color:#5218b2">Text here</p>
#5218b2 Background Color
This box has a background color of #5218b2
<div style="background-color:#5218b2">Text here</div>
#5218b2 Border Color
This box has a border color of #5218b2
<div style="border: 4px solid #5218b2">Text here</div>
CSS codes
<p style="color:#5218b2">Text here</p>
<div style="background-color:#5218b2">Text here</div>
<div style="border: 4px solid #5218b2">Text here</div>
#5218b2 Color on white background
This is how a font and box color of #5218b2 will look
on a white background.
#5218b2 Color on black background
This is how a font and box color of #5218b2 hex color will look
on a black background.