In RGB color space, #5a2155 hex color has a red value of 90, a green value of 33 and a blue value of 85.
In CMYK color space (used in color printing), #5a2155 hex color is composed of 0% cyan, 63.33% magenta, 5.56% yellow and 64.71% black.
#5a2155 color has a hue of 305.3 degrees, a saturation of 46.34% and a lightness of 24.1%.
#5a2155 hex color contains mainly RED.
The closest web safe color of #5a2155 is #663366
#5a2155 hex color has a decimal value of 5906773.
HEX | 5a2155 | #5a2155 |
---|---|---|
RGB | 90, 33, 85 | rgb(90, 33, 85) |
RGB Percent | 35.29, 12.94, 33.33 | rgb(35.29, 12.94, 33.33) |
CMYK | 0, 63, 6, 65 | |
HSL | 305.3°, 46.34, 24.1 | hsl(305.3, 46.34%, 24.1%) |
HSV | 305.3°, 63.3, 35.3 |
XYZ | 6.4, 3.917, 9.013 |
---|---|
Hunter Lab | 19.791, 23.087, -13.147 |
CIE-LAB | 23.395, 33.609, -19.241 |
CIE-LCH | 23.395, 38.727, 330.209 |
CIE-LUV | 0, 63.33, 5.56, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a2155
CMYK percent of color #5a2155
Text with hexadecimal color #5a2155
This text has a font color of #5a2155
<p style="color:#5a2155">Text here</p>
#5a2155 Background Color
This box has a background color of #5a2155
<div style="background-color:#5a2155">Text here</div>
#5a2155 Border Color
This box has a border color of #5a2155
<div style="border: 4px solid #5a2155">Text here</div>
CSS codes
<p style="color:#5a2155">Text here</p>
<div style="background-color:#5a2155">Text here</div>
<div style="border: 4px solid #5a2155">Text here</div>
#5a2155 Color on white background
This is how a font and box color of #5a2155 will look
on a white background.
#5a2155 Color on black background
This is how a font and box color of #5a2155 hex color will look
on a black background.