In RGB color space, #5a5fa6 hex color has a red value of 90, a green value of 95 and a blue value of 166.
In CMYK color space (used in color printing), #5a5fa6 hex color is composed of 45.78% cyan, 42.77% magenta, 0% yellow and 34.9% black.
#5a5fa6 color has a hue of 236.1 degrees, a saturation of 29.92% and a lightness of 50.2%.
#5a5fa6 hex color contains mainly BLUE.
The closest web safe color of #5a5fa6 is #666699
#5a5fa6 hex color has a decimal value of 5922726.
HEX | 5a5fa6 | #5a5fa6 |
---|---|---|
RGB | 90, 95, 166 | rgb(90, 95, 166) |
RGB Percent | 35.29, 37.25, 65.1 | rgb(35.29, 37.25, 65.1) |
CMYK | 46, 43, 0, 35 | |
HSL | 236.1°, 29.92, 50.2 | hsl(236.1, 29.92%, 50.2%) |
HSV | 236.1°, 45.8, 65.1 |
XYZ | 15.192, 13.111, 37.806 |
---|---|
Hunter Lab | 36.209, 11.526, -36.558 |
CIE-LAB | 42.93, 17.341, -38.968 |
CIE-LCH | 42.93, 42.652, 293.989 |
CIE-LUV | 45.78, 42.77, 0, 34.9 |
Web Safe | 666699 |
RGB percent of color #5a5fa6
CMYK percent of color #5a5fa6
Text with hexadecimal color #5a5fa6
This text has a font color of #5a5fa6
<p style="color:#5a5fa6">Text here</p>
#5a5fa6 Background Color
This box has a background color of #5a5fa6
<div style="background-color:#5a5fa6">Text here</div>
#5a5fa6 Border Color
This box has a border color of #5a5fa6
<div style="border: 4px solid #5a5fa6">Text here</div>
CSS codes
<p style="color:#5a5fa6">Text here</p>
<div style="background-color:#5a5fa6">Text here</div>
<div style="border: 4px solid #5a5fa6">Text here</div>
#5a5fa6 Color on white background
This is how a font and box color of #5a5fa6 will look
on a white background.
#5a5fa6 Color on black background
This is how a font and box color of #5a5fa6 hex color will look
on a black background.