In RGB color space, #5a0170 hex color has a red value of 90, a green value of 1 and a blue value of 112.
In CMYK color space (used in color printing), #5a0170 hex color is composed of 19.64% cyan, 99.11% magenta, 0% yellow and 56.08% black.
#5a0170 color has a hue of 288.1 degrees, a saturation of 98.23% and a lightness of 22.2%.
#5a0170 hex color contains mainly BLUE.
The closest web safe color of #5a0170 is #660066
#5a0170 hex color has a decimal value of 5898608.
HEX | 5a0170 | #5a0170 |
---|---|---|
RGB | 90, 1, 112 | rgb(90, 1, 112) |
RGB Percent | 35.29, 0.39, 43.92 | rgb(35.29, 0.39, 43.92) |
CMYK | 20, 99, 0, 56 | |
HSL | 288.1°, 98.23, 22.2 | hsl(288.1, 98.23%, 22.2%) |
HSV | 288.1°, 99.1, 43.9 |
XYZ | 7.152, 3.365, 15.602 |
---|---|
Hunter Lab | 18.344, 37.492, -37.587 |
CIE-LAB | 21.45, 49.667, -40.088 |
CIE-LCH | 21.45, 63.827, 321.092 |
CIE-LUV | 19.64, 99.11, 0, 56.08 |
Web Safe | 660066 |
RGB percent of color #5a0170
CMYK percent of color #5a0170
Text with hexadecimal color #5a0170
This text has a font color of #5a0170
<p style="color:#5a0170">Text here</p>
#5a0170 Background Color
This box has a background color of #5a0170
<div style="background-color:#5a0170">Text here</div>
#5a0170 Border Color
This box has a border color of #5a0170
<div style="border: 4px solid #5a0170">Text here</div>
CSS codes
<p style="color:#5a0170">Text here</p>
<div style="background-color:#5a0170">Text here</div>
<div style="border: 4px solid #5a0170">Text here</div>
#5a0170 Color on white background
This is how a font and box color of #5a0170 will look
on a white background.
#5a0170 Color on black background
This is how a font and box color of #5a0170 hex color will look
on a black background.