In RGB color space, #5228a0 hex color has a red value of 82, a green value of 40 and a blue value of 160.
In CMYK color space (used in color printing), #5228a0 hex color is composed of 48.75% cyan, 75% magenta, 0% yellow and 37.25% black.
#5228a0 color has a hue of 261 degrees, a saturation of 60% and a lightness of 39.2%.
#5228a0 hex color contains mainly BLUE.
The closest web safe color of #5228a0 is #663399
#5228a0 hex color has a decimal value of 5384352.
HEX | 5228a0 | #5228a0 |
---|---|---|
RGB | 82, 40, 160 | rgb(82, 40, 160) |
RGB Percent | 32.16, 15.69, 62.75 | rgb(32.16, 15.69, 62.75) |
CMYK | 49, 75, 0, 37 | |
HSL | 261°, 60, 39.2 | hsl(261, 60%, 39.2%) |
HSV | 261°, 75, 62.7 |
XYZ | 10.584, 5.849, 33.829 |
---|---|
Hunter Lab | 24.185, 35.794, -66.004 |
CIE-LAB | 29.028, 46.464, -57.824 |
CIE-LCH | 29.028, 74.179, 308.783 |
CIE-LUV | 48.75, 75, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #5228a0
CMYK percent of color #5228a0
Text with hexadecimal color #5228a0
This text has a font color of #5228a0
<p style="color:#5228a0">Text here</p>
#5228a0 Background Color
This box has a background color of #5228a0
<div style="background-color:#5228a0">Text here</div>
#5228a0 Border Color
This box has a border color of #5228a0
<div style="border: 4px solid #5228a0">Text here</div>
CSS codes
<p style="color:#5228a0">Text here</p>
<div style="background-color:#5228a0">Text here</div>
<div style="border: 4px solid #5228a0">Text here</div>
#5228a0 Color on white background
This is how a font and box color of #5228a0 will look
on a white background.
#5228a0 Color on black background
This is how a font and box color of #5228a0 hex color will look
on a black background.