In RGB color space, #5228d6 hex color has a red value of 82, a green value of 40 and a blue value of 214.
In CMYK color space (used in color printing), #5228d6 hex color is composed of 61.68% cyan, 81.31% magenta, 0% yellow and 16.08% black.
#5228d6 color has a hue of 254.5 degrees, a saturation of 68.5% and a lightness of 49.8%.
#5228d6 hex color contains mainly BLUE.
The closest web safe color of #5228d6 is #6633cc
#5228d6 hex color has a decimal value of 5384406.
HEX | 5228d6 | #5228d6 |
---|---|---|
RGB | 82, 40, 214 | rgb(82, 40, 214) |
RGB Percent | 32.16, 15.69, 83.92 | rgb(32.16, 15.69, 83.92) |
CMYK | 62, 81, 0, 16 | |
HSL | 254.5°, 68.5, 49.8 | hsl(254.5, 68.5%, 49.8%) |
HSV | 254.5°, 81.3, 83.9 |
XYZ | 16.376, 8.166, 64.331 |
---|---|
Hunter Lab | 28.576, 52.284, -113.471 |
CIE-LAB | 34.326, 61.3, -81.053 |
CIE-LCH | 34.326, 101.623, 307.1 |
CIE-LUV | 61.68, 81.31, 0, 16.08 |
Web Safe | 6633cc |
RGB percent of color #5228d6
CMYK percent of color #5228d6
Text with hexadecimal color #5228d6
This text has a font color of #5228d6
<p style="color:#5228d6">Text here</p>
#5228d6 Background Color
This box has a background color of #5228d6
<div style="background-color:#5228d6">Text here</div>
#5228d6 Border Color
This box has a border color of #5228d6
<div style="border: 4px solid #5228d6">Text here</div>
CSS codes
<p style="color:#5228d6">Text here</p>
<div style="background-color:#5228d6">Text here</div>
<div style="border: 4px solid #5228d6">Text here</div>
#5228d6 Color on white background
This is how a font and box color of #5228d6 will look
on a white background.
#5228d6 Color on black background
This is how a font and box color of #5228d6 hex color will look
on a black background.