In RGB color space, #5a5096 hex color has a red value of 90, a green value of 80 and a blue value of 150.
In CMYK color space (used in color printing), #5a5096 hex color is composed of 40% cyan, 46.67% magenta, 0% yellow and 41.18% black.
#5a5096 color has a hue of 248.6 degrees, a saturation of 30.43% and a lightness of 45.1%.
#5a5096 hex color contains mainly BLUE.
The closest web safe color of #5a5096 is #666699
#5a5096 hex color has a decimal value of 5918870.
HEX | 5a5096 | #5a5096 |
---|---|---|
RGB | 90, 80, 150 | rgb(90, 80, 150) |
RGB Percent | 35.29, 31.37, 58.82 | rgb(35.29, 31.37, 58.82) |
CMYK | 40, 47, 0, 41 | |
HSL | 248.6°, 30.43, 45.1 | hsl(248.6, 30.43%, 45.1%) |
HSV | 248.6°, 46.7, 58.8 |
XYZ | 12.59, 10.113, 30.143 |
---|---|
Hunter Lab | 31.801, 15.017, -33.938 |
CIE-LAB | 38.044, 21.928, -37.168 |
CIE-LCH | 38.044, 43.154, 300.539 |
CIE-LUV | 40, 46.67, 0, 41.18 |
Web Safe | 666699 |
RGB percent of color #5a5096
CMYK percent of color #5a5096
Text with hexadecimal color #5a5096
This text has a font color of #5a5096
<p style="color:#5a5096">Text here</p>
#5a5096 Background Color
This box has a background color of #5a5096
<div style="background-color:#5a5096">Text here</div>
#5a5096 Border Color
This box has a border color of #5a5096
<div style="border: 4px solid #5a5096">Text here</div>
CSS codes
<p style="color:#5a5096">Text here</p>
<div style="background-color:#5a5096">Text here</div>
<div style="border: 4px solid #5a5096">Text here</div>
#5a5096 Color on white background
This is how a font and box color of #5a5096 will look
on a white background.
#5a5096 Color on black background
This is how a font and box color of #5a5096 hex color will look
on a black background.