In RGB color space, #5a5170 hex color has a red value of 90, a green value of 81 and a blue value of 112.
In CMYK color space (used in color printing), #5a5170 hex color is composed of 19.64% cyan, 27.68% magenta, 0% yellow and 56.08% black.
#5a5170 color has a hue of 257.4 degrees, a saturation of 16.06% and a lightness of 37.8%.
#5a5170 hex color contains mainly BLUE.
The closest web safe color of #5a5170 is #666666
#5a5170 hex color has a decimal value of 5919088.
HEX | 5a5170 | #5a5170 |
---|---|---|
RGB | 90, 81, 112 | rgb(90, 81, 112) |
RGB Percent | 35.29, 31.76, 43.92 | rgb(35.29, 31.76, 43.92) |
CMYK | 20, 28, 0, 56 | |
HSL | 257.4°, 16.06, 37.8 | hsl(257.4, 16.06%, 37.8%) |
HSV | 257.4°, 27.7, 43.9 |
XYZ | 10.084, 9.228, 16.579 |
---|---|
Hunter Lab | 30.378, 6.093, -11.094 |
CIE-LAB | 36.42, 10.755, -16.419 |
CIE-LCH | 36.42, 19.628, 303.226 |
CIE-LUV | 19.64, 27.68, 0, 56.08 |
Web Safe | 666666 |
RGB percent of color #5a5170
CMYK percent of color #5a5170
Text with hexadecimal color #5a5170
This text has a font color of #5a5170
<p style="color:#5a5170">Text here</p>
#5a5170 Background Color
This box has a background color of #5a5170
<div style="background-color:#5a5170">Text here</div>
#5a5170 Border Color
This box has a border color of #5a5170
<div style="border: 4px solid #5a5170">Text here</div>
CSS codes
<p style="color:#5a5170">Text here</p>
<div style="background-color:#5a5170">Text here</div>
<div style="border: 4px solid #5a5170">Text here</div>
#5a5170 Color on white background
This is how a font and box color of #5a5170 will look
on a white background.
#5a5170 Color on black background
This is how a font and box color of #5a5170 hex color will look
on a black background.