In RGB color space, #5a178a hex color has a red value of 90, a green value of 23 and a blue value of 138.
In CMYK color space (used in color printing), #5a178a hex color is composed of 34.78% cyan, 83.33% magenta, 0% yellow and 45.88% black.
#5a178a color has a hue of 275 degrees, a saturation of 71.43% and a lightness of 31.6%.
#5a178a hex color contains mainly BLUE.
The closest web safe color of #5a178a is #660099
#5a178a hex color has a decimal value of 5904266.
HEX | 5a178a | #5a178a |
---|---|---|
RGB | 90, 23, 138 | rgb(90, 23, 138) |
RGB Percent | 35.29, 9.02, 54.12 | rgb(35.29, 9.02, 54.12) |
CMYK | 35, 83, 0, 46 | |
HSL | 275°, 71.43, 31.6 | hsl(275, 71.43%, 31.6%) |
HSV | 275°, 83.3, 54.1 |
XYZ | 9.11, 4.621, 24.457 |
---|---|
Hunter Lab | 21.497, 38.028, -52.408 |
CIE-LAB | 25.627, 49.397, -49.805 |
CIE-LCH | 25.627, 70.147, 314.764 |
CIE-LUV | 34.78, 83.33, 0, 45.88 |
Web Safe | 660099 |
RGB percent of color #5a178a
CMYK percent of color #5a178a
Text with hexadecimal color #5a178a
This text has a font color of #5a178a
<p style="color:#5a178a">Text here</p>
#5a178a Background Color
This box has a background color of #5a178a
<div style="background-color:#5a178a">Text here</div>
#5a178a Border Color
This box has a border color of #5a178a
<div style="border: 4px solid #5a178a">Text here</div>
CSS codes
<p style="color:#5a178a">Text here</p>
<div style="background-color:#5a178a">Text here</div>
<div style="border: 4px solid #5a178a">Text here</div>
#5a178a Color on white background
This is how a font and box color of #5a178a will look
on a white background.
#5a178a Color on black background
This is how a font and box color of #5a178a hex color will look
on a black background.