In RGB color space, #5a2266 hex color has a red value of 90, a green value of 34 and a blue value of 102.
In CMYK color space (used in color printing), #5a2266 hex color is composed of 11.76% cyan, 66.67% magenta, 0% yellow and 60% black.
#5a2266 color has a hue of 289.4 degrees, a saturation of 50% and a lightness of 26.7%.
#5a2266 hex color contains mainly BLUE.
The closest web safe color of #5a2266 is #663366
#5a2266 hex color has a decimal value of 5907046.
HEX | 5a2266 | #5a2266 |
---|---|---|
RGB | 90, 34, 102 | rgb(90, 34, 102) |
RGB Percent | 35.29, 13.33, 40 | rgb(35.29, 13.33, 40) |
CMYK | 12, 67, 0, 60 | |
HSL | 289.4°, 50, 26.7 | hsl(289.4, 50%, 26.7%) |
HSV | 289.4°, 66.7, 40 |
XYZ | 7.187, 4.277, 13.017 |
---|---|
Hunter Lab | 20.681, 25.84, -22.842 |
CIE-LAB | 24.567, 36.576, -28.582 |
CIE-LCH | 24.567, 46.419, 321.994 |
CIE-LUV | 11.76, 66.67, 0, 60 |
Web Safe | 663366 |
RGB percent of color #5a2266
CMYK percent of color #5a2266
Text with hexadecimal color #5a2266
This text has a font color of #5a2266
<p style="color:#5a2266">Text here</p>
#5a2266 Background Color
This box has a background color of #5a2266
<div style="background-color:#5a2266">Text here</div>
#5a2266 Border Color
This box has a border color of #5a2266
<div style="border: 4px solid #5a2266">Text here</div>
CSS codes
<p style="color:#5a2266">Text here</p>
<div style="background-color:#5a2266">Text here</div>
<div style="border: 4px solid #5a2266">Text here</div>
#5a2266 Color on white background
This is how a font and box color of #5a2266 will look
on a white background.
#5a2266 Color on black background
This is how a font and box color of #5a2266 hex color will look
on a black background.