In RGB color space, #5a1758 hex color has a red value of 90, a green value of 23 and a blue value of 88.
In CMYK color space (used in color printing), #5a1758 hex color is composed of 0% cyan, 74.44% magenta, 2.22% yellow and 64.71% black.
#5a1758 color has a hue of 301.8 degrees, a saturation of 59.29% and a lightness of 22.2%.
#5a1758 hex color contains mainly RED.
The closest web safe color of #5a1758 is #660066
#5a1758 hex color has a decimal value of 5904216.
HEX | 5a1758 | #5a1758 |
---|---|---|
RGB | 90, 23, 88 | rgb(90, 23, 88) |
RGB Percent | 35.29, 9.02, 34.51 | rgb(35.29, 9.02, 34.51) |
CMYK | 0, 74, 2, 65 | |
HSL | 301.8°, 59.29, 22.2 | hsl(301.8, 59.29%, 22.2%) |
HSV | 301.8°, 74.4, 35.3 |
XYZ | 6.284, 3.491, 9.575 |
---|---|
Hunter Lab | 18.684, 27.337, -17.305 |
CIE-LAB | 21.912, 38.766, -23.573 |
CIE-LCH | 21.912, 45.371, 328.697 |
CIE-LUV | 0, 74.44, 2.22, 64.71 |
Web Safe | 660066 |
RGB percent of color #5a1758
CMYK percent of color #5a1758
Text with hexadecimal color #5a1758
This text has a font color of #5a1758
<p style="color:#5a1758">Text here</p>
#5a1758 Background Color
This box has a background color of #5a1758
<div style="background-color:#5a1758">Text here</div>
#5a1758 Border Color
This box has a border color of #5a1758
<div style="border: 4px solid #5a1758">Text here</div>
CSS codes
<p style="color:#5a1758">Text here</p>
<div style="background-color:#5a1758">Text here</div>
<div style="border: 4px solid #5a1758">Text here</div>
#5a1758 Color on white background
This is how a font and box color of #5a1758 will look
on a white background.
#5a1758 Color on black background
This is how a font and box color of #5a1758 hex color will look
on a black background.