In RGB color space, #5a2a70 hex color has a red value of 90, a green value of 42 and a blue value of 112.
In CMYK color space (used in color printing), #5a2a70 hex color is composed of 19.64% cyan, 62.5% magenta, 0% yellow and 56.08% black.
#5a2a70 color has a hue of 281.1 degrees, a saturation of 45.45% and a lightness of 30.2%.
#5a2a70 hex color contains mainly BLUE.
The closest web safe color of #5a2a70 is #663366
#5a2a70 hex color has a decimal value of 5909104.
HEX | 5a2a70 | #5a2a70 |
---|---|---|
RGB | 90, 42, 112 | rgb(90, 42, 112) |
RGB Percent | 35.29, 16.47, 43.92 | rgb(35.29, 16.47, 43.92) |
CMYK | 20, 63, 0, 56 | |
HSL | 281.1°, 45.45, 30.2 | hsl(281.1, 45.45%, 30.2%) |
HSV | 281.1°, 62.5, 43.9 |
XYZ | 7.969, 4.999, 15.874 |
---|---|
Hunter Lab | 22.358, 24.494, -26.444 |
CIE-LAB | 26.732, 34.65, -31.586 |
CIE-LCH | 26.732, 46.886, 317.649 |
CIE-LUV | 19.64, 62.5, 0, 56.08 |
Web Safe | 663366 |
RGB percent of color #5a2a70
CMYK percent of color #5a2a70
Text with hexadecimal color #5a2a70
This text has a font color of #5a2a70
<p style="color:#5a2a70">Text here</p>
#5a2a70 Background Color
This box has a background color of #5a2a70
<div style="background-color:#5a2a70">Text here</div>
#5a2a70 Border Color
This box has a border color of #5a2a70
<div style="border: 4px solid #5a2a70">Text here</div>
CSS codes
<p style="color:#5a2a70">Text here</p>
<div style="background-color:#5a2a70">Text here</div>
<div style="border: 4px solid #5a2a70">Text here</div>
#5a2a70 Color on white background
This is how a font and box color of #5a2a70 will look
on a white background.
#5a2a70 Color on black background
This is how a font and box color of #5a2a70 hex color will look
on a black background.