In RGB color space, #5a5f9a hex color has a red value of 90, a green value of 95 and a blue value of 154.
In CMYK color space (used in color printing), #5a5f9a hex color is composed of 41.56% cyan, 38.31% magenta, 0% yellow and 39.61% black.
#5a5f9a color has a hue of 235.3 degrees, a saturation of 26.23% and a lightness of 47.8%.
#5a5f9a hex color contains mainly BLUE.
The closest web safe color of #5a5f9a is #666699
#5a5f9a hex color has a decimal value of 5922714.
HEX | 5a5f9a | #5a5f9a |
---|---|---|
RGB | 90, 95, 154 | rgb(90, 95, 154) |
RGB Percent | 35.29, 37.25, 60.39 | rgb(35.29, 37.25, 60.39) |
CMYK | 42, 38, 0, 40 | |
HSL | 235.3°, 26.23, 47.8 | hsl(235.3, 26.23%, 47.8%) |
HSV | 235.3°, 41.6, 60.4 |
XYZ | 14.141, 12.691, 32.276 |
---|---|
Hunter Lab | 35.624, 8.512, -28.78 |
CIE-LAB | 42.294, 13.675, -32.846 |
CIE-LCH | 42.294, 35.579, 292.604 |
CIE-LUV | 41.56, 38.31, 0, 39.61 |
Web Safe | 666699 |
RGB percent of color #5a5f9a
CMYK percent of color #5a5f9a
Text with hexadecimal color #5a5f9a
This text has a font color of #5a5f9a
<p style="color:#5a5f9a">Text here</p>
#5a5f9a Background Color
This box has a background color of #5a5f9a
<div style="background-color:#5a5f9a">Text here</div>
#5a5f9a Border Color
This box has a border color of #5a5f9a
<div style="border: 4px solid #5a5f9a">Text here</div>
CSS codes
<p style="color:#5a5f9a">Text here</p>
<div style="background-color:#5a5f9a">Text here</div>
<div style="border: 4px solid #5a5f9a">Text here</div>
#5a5f9a Color on white background
This is how a font and box color of #5a5f9a will look
on a white background.
#5a5f9a Color on black background
This is how a font and box color of #5a5f9a hex color will look
on a black background.