In RGB color space, #5228ff hex color has a red value of 82, a green value of 40 and a blue value of 255.
In CMYK color space (used in color printing), #5228ff hex color is composed of 67.84% cyan, 84.31% magenta, 0% yellow and 0% black.
#5228ff color has a hue of 251.7 degrees, a saturation of 100% and a lightness of 57.8%.
#5228ff hex color contains mainly BLUE.
The closest web safe color of #5228ff is #6633ff
#5228ff hex color has a decimal value of 5384447.
HEX | 5228ff | #5228ff |
---|---|---|
RGB | 82, 40, 255 | rgb(82, 40, 255) |
RGB Percent | 32.16, 15.69, 100 | rgb(32.16, 15.69, 100) |
CMYK | 68, 84, 0, 0 | |
HSL | 251.7°, 100, 57.8 | hsl(251.7, 100%, 57.8%) |
HSV | 251.7°, 84.3, 100 |
XYZ | 22.288, 10.531, 95.466 |
---|---|
Hunter Lab | 32.452, 65.805, -151.704 |
CIE-LAB | 38.779, 72.212, -96.976 |
CIE-LCH | 38.779, 120.909, 306.673 |
CIE-LUV | 67.84, 84.31, 0, 0 |
Web Safe | 6633ff |
RGB percent of color #5228ff
CMYK percent of color #5228ff
Text with hexadecimal color #5228ff
This text has a font color of #5228ff
<p style="color:#5228ff">Text here</p>
#5228ff Background Color
This box has a background color of #5228ff
<div style="background-color:#5228ff">Text here</div>
#5228ff Border Color
This box has a border color of #5228ff
<div style="border: 4px solid #5228ff">Text here</div>
CSS codes
<p style="color:#5228ff">Text here</p>
<div style="background-color:#5228ff">Text here</div>
<div style="border: 4px solid #5228ff">Text here</div>
#5228ff Color on white background
This is how a font and box color of #5228ff will look
on a white background.
#5228ff Color on black background
This is how a font and box color of #5228ff hex color will look
on a black background.