In RGB color space, #5a5172 hex color has a red value of 90, a green value of 81 and a blue value of 114.
In CMYK color space (used in color printing), #5a5172 hex color is composed of 21.05% cyan, 28.95% magenta, 0% yellow and 55.29% black.
#5a5172 color has a hue of 256.4 degrees, a saturation of 16.92% and a lightness of 38.2%.
#5a5172 hex color contains mainly BLUE.
The closest web safe color of #5a5172 is #666666
#5a5172 hex color has a decimal value of 5919090.
HEX | 5a5172 | #5a5172 |
---|---|---|
RGB | 90, 81, 114 | rgb(90, 81, 114) |
RGB Percent | 35.29, 31.76, 44.71 | rgb(35.29, 31.76, 44.71) |
CMYK | 21, 29, 0, 55 | |
HSL | 256.4°, 16.92, 38.2 | hsl(256.4, 16.92%, 38.2%) |
HSV | 256.4°, 28.9, 44.7 |
XYZ | 10.196, 9.273, 17.172 |
---|---|
Hunter Lab | 30.452, 6.476, -12.118 |
CIE-LAB | 36.505, 11.262, -17.531 |
CIE-LCH | 36.505, 20.837, 302.717 |
CIE-LUV | 21.05, 28.95, 0, 55.29 |
Web Safe | 666666 |
RGB percent of color #5a5172
CMYK percent of color #5a5172
Text with hexadecimal color #5a5172
This text has a font color of #5a5172
<p style="color:#5a5172">Text here</p>
#5a5172 Background Color
This box has a background color of #5a5172
<div style="background-color:#5a5172">Text here</div>
#5a5172 Border Color
This box has a border color of #5a5172
<div style="border: 4px solid #5a5172">Text here</div>
CSS codes
<p style="color:#5a5172">Text here</p>
<div style="background-color:#5a5172">Text here</div>
<div style="border: 4px solid #5a5172">Text here</div>
#5a5172 Color on white background
This is how a font and box color of #5a5172 will look
on a white background.
#5a5172 Color on black background
This is how a font and box color of #5a5172 hex color will look
on a black background.