In RGB color space, #5a186c hex color has a red value of 90, a green value of 24 and a blue value of 108.
In CMYK color space (used in color printing), #5a186c hex color is composed of 16.67% cyan, 77.78% magenta, 0% yellow and 57.65% black.
#5a186c color has a hue of 287.1 degrees, a saturation of 63.64% and a lightness of 25.9%.
#5a186c hex color contains mainly BLUE.
The closest web safe color of #5a186c is #660066
#5a186c hex color has a decimal value of 5904492.
HEX | 5a186c | #5a186c |
---|---|---|
RGB | 90, 24, 108 | rgb(90, 24, 108) |
RGB Percent | 35.29, 9.41, 42.35 | rgb(35.29, 9.41, 42.35) |
CMYK | 17, 78, 0, 58 | |
HSL | 287.1°, 63.64, 25.9 | hsl(287.1, 63.64%, 25.9%) |
HSV | 287.1°, 77.8, 42.4 |
XYZ | 7.25, 3.91, 14.56 |
---|---|
Hunter Lab | 19.774, 30.843, -29.815 |
CIE-LAB | 23.372, 42.344, -34.392 |
CIE-LCH | 23.372, 54.551, 320.916 |
CIE-LUV | 16.67, 77.78, 0, 57.65 |
Web Safe | 660066 |
RGB percent of color #5a186c
CMYK percent of color #5a186c
Text with hexadecimal color #5a186c
This text has a font color of #5a186c
<p style="color:#5a186c">Text here</p>
#5a186c Background Color
This box has a background color of #5a186c
<div style="background-color:#5a186c">Text here</div>
#5a186c Border Color
This box has a border color of #5a186c
<div style="border: 4px solid #5a186c">Text here</div>
CSS codes
<p style="color:#5a186c">Text here</p>
<div style="background-color:#5a186c">Text here</div>
<div style="border: 4px solid #5a186c">Text here</div>
#5a186c Color on white background
This is how a font and box color of #5a186c will look
on a white background.
#5a186c Color on black background
This is how a font and box color of #5a186c hex color will look
on a black background.