In RGB color space, #5a158c hex color has a red value of 90, a green value of 21 and a blue value of 140.
In CMYK color space (used in color printing), #5a158c hex color is composed of 35.71% cyan, 85% magenta, 0% yellow and 45.1% black.
#5a158c color has a hue of 274.8 degrees, a saturation of 73.91% and a lightness of 31.6%.
#5a158c hex color contains mainly BLUE.
The closest web safe color of #5a158c is #660099
#5a158c hex color has a decimal value of 5903756.
HEX | 5a158c | #5a158c |
---|---|---|
RGB | 90, 21, 140 | rgb(90, 21, 140) |
RGB Percent | 35.29, 8.24, 54.9 | rgb(35.29, 8.24, 54.9) |
CMYK | 36, 85, 0, 45 | |
HSL | 274.8°, 73.91, 31.6 | hsl(274.8, 73.91%, 31.6%) |
HSV | 274.8°, 85, 54.9 |
XYZ | 9.218, 4.603, 25.214 |
---|---|
Hunter Lab | 21.455, 39.147, -54.661 |
CIE-LAB | 25.572, 50.531, -51.14 |
CIE-LCH | 25.572, 71.894, 314.657 |
CIE-LUV | 35.71, 85, 0, 45.1 |
Web Safe | 660099 |
RGB percent of color #5a158c
CMYK percent of color #5a158c
Text with hexadecimal color #5a158c
This text has a font color of #5a158c
<p style="color:#5a158c">Text here</p>
#5a158c Background Color
This box has a background color of #5a158c
<div style="background-color:#5a158c">Text here</div>
#5a158c Border Color
This box has a border color of #5a158c
<div style="border: 4px solid #5a158c">Text here</div>
CSS codes
<p style="color:#5a158c">Text here</p>
<div style="background-color:#5a158c">Text here</div>
<div style="border: 4px solid #5a158c">Text here</div>
#5a158c Color on white background
This is how a font and box color of #5a158c will look
on a white background.
#5a158c Color on black background
This is how a font and box color of #5a158c hex color will look
on a black background.