In RGB color space, #5228b9 hex color has a red value of 82, a green value of 40 and a blue value of 185.
In CMYK color space (used in color printing), #5228b9 hex color is composed of 55.68% cyan, 78.38% magenta, 0% yellow and 27.45% black.
#5228b9 color has a hue of 257.4 degrees, a saturation of 64.44% and a lightness of 44.1%.
#5228b9 hex color contains mainly BLUE.
The closest web safe color of #5228b9 is #6633cc
#5228b9 hex color has a decimal value of 5384377.
HEX | 5228b9 | #5228b9 |
---|---|---|
RGB | 82, 40, 185 | rgb(82, 40, 185) |
RGB Percent | 32.16, 15.69, 72.55 | rgb(32.16, 15.69, 72.55) |
CMYK | 56, 78, 0, 27 | |
HSL | 257.4°, 64.44, 44.1 | hsl(257.4, 64.44%, 44.1%) |
HSV | 257.4°, 78.4, 72.5 |
XYZ | 12.995, 6.814, 46.529 |
---|---|
Hunter Lab | 26.104, 43.18, -87.41 |
CIE-LAB | 31.38, 53.36, -68.955 |
CIE-LCH | 31.38, 87.19, 307.734 |
CIE-LUV | 55.68, 78.38, 0, 27.45 |
Web Safe | 6633cc |
RGB percent of color #5228b9
CMYK percent of color #5228b9
Text with hexadecimal color #5228b9
This text has a font color of #5228b9
<p style="color:#5228b9">Text here</p>
#5228b9 Background Color
This box has a background color of #5228b9
<div style="background-color:#5228b9">Text here</div>
#5228b9 Border Color
This box has a border color of #5228b9
<div style="border: 4px solid #5228b9">Text here</div>
CSS codes
<p style="color:#5228b9">Text here</p>
<div style="background-color:#5228b9">Text here</div>
<div style="border: 4px solid #5228b9">Text here</div>
#5228b9 Color on white background
This is how a font and box color of #5228b9 will look
on a white background.
#5228b9 Color on black background
This is how a font and box color of #5228b9 hex color will look
on a black background.