In RGB color space, #5228c8 hex color has a red value of 82, a green value of 40 and a blue value of 200.
In CMYK color space (used in color printing), #5228c8 hex color is composed of 59% cyan, 80% magenta, 0% yellow and 21.57% black.
#5228c8 color has a hue of 255.8 degrees, a saturation of 66.67% and a lightness of 47.1%.
#5228c8 hex color contains mainly BLUE.
The closest web safe color of #5228c8 is #6633cc
#5228c8 hex color has a decimal value of 5384392.
HEX | 5228c8 | #5228c8 |
---|---|---|
RGB | 82, 40, 200 | rgb(82, 40, 200) |
RGB Percent | 32.16, 15.69, 78.43 | rgb(32.16, 15.69, 78.43) |
CMYK | 59, 80, 0, 22 | |
HSL | 255.8°, 66.67, 47.1 | hsl(255.8, 66.67%, 47.1%) |
HSV | 255.8°, 80, 78.4 |
XYZ | 14.664, 7.482, 55.315 |
---|---|
Hunter Lab | 27.353, 47.825, -100.752 |
CIE-LAB | 32.88, 57.479, -75.309 |
CIE-LCH | 32.88, 94.738, 307.352 |
CIE-LUV | 59, 80, 0, 21.57 |
Web Safe | 6633cc |
RGB percent of color #5228c8
CMYK percent of color #5228c8
Text with hexadecimal color #5228c8
This text has a font color of #5228c8
<p style="color:#5228c8">Text here</p>
#5228c8 Background Color
This box has a background color of #5228c8
<div style="background-color:#5228c8">Text here</div>
#5228c8 Border Color
This box has a border color of #5228c8
<div style="border: 4px solid #5228c8">Text here</div>
CSS codes
<p style="color:#5228c8">Text here</p>
<div style="background-color:#5228c8">Text here</div>
<div style="border: 4px solid #5228c8">Text here</div>
#5228c8 Color on white background
This is how a font and box color of #5228c8 will look
on a white background.
#5228c8 Color on black background
This is how a font and box color of #5228c8 hex color will look
on a black background.