In RGB color space, #5228ef hex color has a red value of 82, a green value of 40 and a blue value of 239.
In CMYK color space (used in color printing), #5228ef hex color is composed of 65.69% cyan, 83.26% magenta, 0% yellow and 6.27% black.
#5228ef color has a hue of 252.7 degrees, a saturation of 86.15% and a lightness of 54.7%.
#5228ef hex color contains mainly BLUE.
The closest web safe color of #5228ef is #6633ff
#5228ef hex color has a decimal value of 5384431.
HEX | 5228ef | #5228ef |
---|---|---|
RGB | 82, 40, 239 | rgb(82, 40, 239) |
RGB Percent | 32.16, 15.69, 93.73 | rgb(32.16, 15.69, 93.73) |
CMYK | 66, 83, 0, 6 | |
HSL | 252.7°, 86.15, 54.7 | hsl(252.7, 86.15%, 54.7%) |
HSV | 252.7°, 83.3, 93.7 |
XYZ | 19.818, 9.543, 82.459 |
---|---|
Hunter Lab | 30.892, 60.453, -136.638 |
CIE-LAB | 37.009, 68.001, -90.906 |
CIE-LCH | 37.009, 113.525, 306.798 |
CIE-LUV | 65.69, 83.26, 0, 6.27 |
Web Safe | 6633ff |
RGB percent of color #5228ef
CMYK percent of color #5228ef
Text with hexadecimal color #5228ef
This text has a font color of #5228ef
<p style="color:#5228ef">Text here</p>
#5228ef Background Color
This box has a background color of #5228ef
<div style="background-color:#5228ef">Text here</div>
#5228ef Border Color
This box has a border color of #5228ef
<div style="border: 4px solid #5228ef">Text here</div>
CSS codes
<p style="color:#5228ef">Text here</p>
<div style="background-color:#5228ef">Text here</div>
<div style="border: 4px solid #5228ef">Text here</div>
#5228ef Color on white background
This is how a font and box color of #5228ef will look
on a white background.
#5228ef Color on black background
This is how a font and box color of #5228ef hex color will look
on a black background.