In RGB color space, #5a5799 hex color has a red value of 90, a green value of 87 and a blue value of 153.
In CMYK color space (used in color printing), #5a5799 hex color is composed of 41.18% cyan, 43.14% magenta, 0% yellow and 40% black.
#5a5799 color has a hue of 242.7 degrees, a saturation of 27.5% and a lightness of 47.1%.
#5a5799 hex color contains mainly BLUE.
The closest web safe color of #5a5799 is #666699
#5a5799 hex color has a decimal value of 5920665.
HEX | 5a5799 | #5a5799 |
---|---|---|
RGB | 90, 87, 153 | rgb(90, 87, 153) |
RGB Percent | 35.29, 34.12, 60 | rgb(35.29, 34.12, 60) |
CMYK | 41, 43, 0, 40 | |
HSL | 242.7°, 27.5, 47.1 | hsl(242.7, 27.5%, 47.1%) |
HSV | 242.7°, 43.1, 60 |
XYZ | 13.374, 11.29, 31.611 |
---|---|
Hunter Lab | 33.601, 12.247, -32.259 |
CIE-LAB | 40.065, 18.404, -35.768 |
CIE-LCH | 40.065, 40.225, 297.228 |
CIE-LUV | 41.18, 43.14, 0, 40 |
Web Safe | 666699 |
RGB percent of color #5a5799
CMYK percent of color #5a5799
Text with hexadecimal color #5a5799
This text has a font color of #5a5799
<p style="color:#5a5799">Text here</p>
#5a5799 Background Color
This box has a background color of #5a5799
<div style="background-color:#5a5799">Text here</div>
#5a5799 Border Color
This box has a border color of #5a5799
<div style="border: 4px solid #5a5799">Text here</div>
CSS codes
<p style="color:#5a5799">Text here</p>
<div style="background-color:#5a5799">Text here</div>
<div style="border: 4px solid #5a5799">Text here</div>
#5a5799 Color on white background
This is how a font and box color of #5a5799 will look
on a white background.
#5a5799 Color on black background
This is how a font and box color of #5a5799 hex color will look
on a black background.