In RGB color space, #5a5fa1 hex color has a red value of 90, a green value of 95 and a blue value of 161.
In CMYK color space (used in color printing), #5a5fa1 hex color is composed of 44.1% cyan, 40.99% magenta, 0% yellow and 36.86% black.
#5a5fa1 color has a hue of 235.8 degrees, a saturation of 28.29% and a lightness of 49.2%.
#5a5fa1 hex color contains mainly BLUE.
The closest web safe color of #5a5fa1 is #666699
#5a5fa1 hex color has a decimal value of 5922721.
HEX | 5a5fa1 | #5a5fa1 |
---|---|---|
RGB | 90, 95, 161 | rgb(90, 95, 161) |
RGB Percent | 35.29, 37.25, 63.14 | rgb(35.29, 37.25, 63.14) |
CMYK | 44, 41, 0, 37 | |
HSL | 235.8°, 28.29, 49.2 | hsl(235.8, 28.29%, 49.2%) |
HSV | 235.8°, 44.1, 63.1 |
XYZ | 14.742, 12.931, 35.437 |
---|---|
Hunter Lab | 35.96, 10.248, -33.256 |
CIE-LAB | 42.659, 15.802, -36.435 |
CIE-LCH | 42.659, 39.714, 293.447 |
CIE-LUV | 44.1, 40.99, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #5a5fa1
CMYK percent of color #5a5fa1
Text with hexadecimal color #5a5fa1
This text has a font color of #5a5fa1
<p style="color:#5a5fa1">Text here</p>
#5a5fa1 Background Color
This box has a background color of #5a5fa1
<div style="background-color:#5a5fa1">Text here</div>
#5a5fa1 Border Color
This box has a border color of #5a5fa1
<div style="border: 4px solid #5a5fa1">Text here</div>
CSS codes
<p style="color:#5a5fa1">Text here</p>
<div style="background-color:#5a5fa1">Text here</div>
<div style="border: 4px solid #5a5fa1">Text here</div>
#5a5fa1 Color on white background
This is how a font and box color of #5a5fa1 will look
on a white background.
#5a5fa1 Color on black background
This is how a font and box color of #5a5fa1 hex color will look
on a black background.