In RGB color space, #5a156c hex color has a red value of 90, a green value of 21 and a blue value of 108.
In CMYK color space (used in color printing), #5a156c hex color is composed of 16.67% cyan, 80.56% magenta, 0% yellow and 57.65% black.
#5a156c color has a hue of 287.6 degrees, a saturation of 67.44% and a lightness of 25.3%.
#5a156c hex color contains mainly BLUE.
The closest web safe color of #5a156c is #660066
#5a156c hex color has a decimal value of 5903724.
HEX | 5a156c | #5a156c |
---|---|---|
RGB | 90, 21, 108 | rgb(90, 21, 108) |
RGB Percent | 35.29, 8.24, 42.35 | rgb(35.29, 8.24, 42.35) |
CMYK | 17, 81, 0, 58 | |
HSL | 287.6°, 67.44, 25.3 | hsl(287.6, 67.44%, 25.3%) |
HSV | 287.6°, 80.6, 42.4 |
XYZ | 7.191, 3.793, 14.54 |
---|---|
Hunter Lab | 19.476, 31.825, -30.631 |
CIE-LAB | 22.975, 43.477, -35.029 |
CIE-LCH | 22.975, 55.833, 321.142 |
CIE-LUV | 16.67, 80.56, 0, 57.65 |
Web Safe | 660066 |
RGB percent of color #5a156c
CMYK percent of color #5a156c
Text with hexadecimal color #5a156c
This text has a font color of #5a156c
<p style="color:#5a156c">Text here</p>
#5a156c Background Color
This box has a background color of #5a156c
<div style="background-color:#5a156c">Text here</div>
#5a156c Border Color
This box has a border color of #5a156c
<div style="border: 4px solid #5a156c">Text here</div>
CSS codes
<p style="color:#5a156c">Text here</p>
<div style="background-color:#5a156c">Text here</div>
<div style="border: 4px solid #5a156c">Text here</div>
#5a156c Color on white background
This is how a font and box color of #5a156c will look
on a white background.
#5a156c Color on black background
This is how a font and box color of #5a156c hex color will look
on a black background.