In RGB color space, #5a226c hex color has a red value of 90, a green value of 34 and a blue value of 108.
In CMYK color space (used in color printing), #5a226c hex color is composed of 16.67% cyan, 68.52% magenta, 0% yellow and 57.65% black.
#5a226c color has a hue of 285.4 degrees, a saturation of 52.11% and a lightness of 27.8%.
#5a226c hex color contains mainly BLUE.
The closest web safe color of #5a226c is #663366
#5a226c hex color has a decimal value of 5907052.
HEX | 5a226c | #5a226c |
---|---|---|
RGB | 90, 34, 108 | rgb(90, 34, 108) |
RGB Percent | 35.29, 13.33, 42.35 | rgb(35.29, 13.33, 42.35) |
CMYK | 17, 69, 0, 58 | |
HSL | 285.4°, 52.11, 27.8 | hsl(285.4, 52.11%, 27.8%) |
HSV | 285.4°, 68.5, 42.4 |
XYZ | 7.495, 4.4, 14.642 |
---|---|
Hunter Lab | 20.976, 27.072, -26.703 |
CIE-LAB | 24.952, 37.894, -31.858 |
CIE-LCH | 24.952, 49.506, 319.946 |
CIE-LUV | 16.67, 68.52, 0, 57.65 |
Web Safe | 663366 |
RGB percent of color #5a226c
CMYK percent of color #5a226c
Text with hexadecimal color #5a226c
This text has a font color of #5a226c
<p style="color:#5a226c">Text here</p>
#5a226c Background Color
This box has a background color of #5a226c
<div style="background-color:#5a226c">Text here</div>
#5a226c Border Color
This box has a border color of #5a226c
<div style="border: 4px solid #5a226c">Text here</div>
CSS codes
<p style="color:#5a226c">Text here</p>
<div style="background-color:#5a226c">Text here</div>
<div style="border: 4px solid #5a226c">Text here</div>
#5a226c Color on white background
This is how a font and box color of #5a226c will look
on a white background.
#5a226c Color on black background
This is how a font and box color of #5a226c hex color will look
on a black background.