In RGB color space, #5228f2 hex color has a red value of 82, a green value of 40 and a blue value of 242.
In CMYK color space (used in color printing), #5228f2 hex color is composed of 66.12% cyan, 83.47% magenta, 0% yellow and 5.1% black.
#5228f2 color has a hue of 252.5 degrees, a saturation of 88.6% and a lightness of 55.3%.
#5228f2 hex color contains mainly BLUE.
The closest web safe color of #5228f2 is #6633ff
#5228f2 hex color has a decimal value of 5384434.
HEX | 5228f2 | #5228f2 |
---|---|---|
RGB | 82, 40, 242 | rgb(82, 40, 242) |
RGB Percent | 32.16, 15.69, 94.9 | rgb(32.16, 15.69, 94.9) |
CMYK | 66, 83, 0, 5 | |
HSL | 252.5°, 88.6, 55.3 | hsl(252.5, 88.6%, 55.3%) |
HSV | 252.5°, 83.5, 94.9 |
XYZ | 20.265, 9.722, 84.813 |
---|---|
Hunter Lab | 31.18, 61.448, -139.449 |
CIE-LAB | 37.339, 68.794, -92.056 |
CIE-LCH | 37.339, 114.921, 306.771 |
CIE-LUV | 66.12, 83.47, 0, 5.1 |
Web Safe | 6633ff |
RGB percent of color #5228f2
CMYK percent of color #5228f2
Text with hexadecimal color #5228f2
This text has a font color of #5228f2
<p style="color:#5228f2">Text here</p>
#5228f2 Background Color
This box has a background color of #5228f2
<div style="background-color:#5228f2">Text here</div>
#5228f2 Border Color
This box has a border color of #5228f2
<div style="border: 4px solid #5228f2">Text here</div>
CSS codes
<p style="color:#5228f2">Text here</p>
<div style="background-color:#5228f2">Text here</div>
<div style="border: 4px solid #5228f2">Text here</div>
#5228f2 Color on white background
This is how a font and box color of #5228f2 will look
on a white background.
#5228f2 Color on black background
This is how a font and box color of #5228f2 hex color will look
on a black background.