In RGB color space, #5a156f hex color has a red value of 90, a green value of 21 and a blue value of 111.
In CMYK color space (used in color printing), #5a156f hex color is composed of 18.92% cyan, 81.08% magenta, 0% yellow and 56.47% black.
#5a156f color has a hue of 286 degrees, a saturation of 68.18% and a lightness of 25.9%.
#5a156f hex color contains mainly BLUE.
The closest web safe color of #5a156f is #660066
#5a156f hex color has a decimal value of 5903727.
HEX | 5a156f | #5a156f |
---|---|---|
RGB | 90, 21, 111 | rgb(90, 21, 111) |
RGB Percent | 35.29, 8.24, 43.53 | rgb(35.29, 8.24, 43.53) |
CMYK | 19, 81, 0, 56 | |
HSL | 286°, 68.18, 25.9 | hsl(286, 68.18%, 25.9%) |
HSV | 286°, 81.1, 43.5 |
XYZ | 7.354, 3.858, 15.396 |
---|---|
Hunter Lab | 19.642, 32.458, -32.725 |
CIE-LAB | 23.196, 44.109, -36.615 |
CIE-LCH | 23.196, 57.326, 320.304 |
CIE-LUV | 18.92, 81.08, 0, 56.47 |
Web Safe | 660066 |
RGB percent of color #5a156f
CMYK percent of color #5a156f
Text with hexadecimal color #5a156f
This text has a font color of #5a156f
<p style="color:#5a156f">Text here</p>
#5a156f Background Color
This box has a background color of #5a156f
<div style="background-color:#5a156f">Text here</div>
#5a156f Border Color
This box has a border color of #5a156f
<div style="border: 4px solid #5a156f">Text here</div>
CSS codes
<p style="color:#5a156f">Text here</p>
<div style="background-color:#5a156f">Text here</div>
<div style="border: 4px solid #5a156f">Text here</div>
#5a156f Color on white background
This is how a font and box color of #5a156f will look
on a white background.
#5a156f Color on black background
This is how a font and box color of #5a156f hex color will look
on a black background.