In RGB color space, #5a40a0 hex color has a red value of 90, a green value of 64 and a blue value of 160.
In CMYK color space (used in color printing), #5a40a0 hex color is composed of 43.75% cyan, 60% magenta, 0% yellow and 37.25% black.
#5a40a0 color has a hue of 256.3 degrees, a saturation of 42.86% and a lightness of 43.9%.
#5a40a0 hex color contains mainly BLUE.
The closest web safe color of #5a40a0 is #663399
#5a40a0 hex color has a decimal value of 5914784.
HEX | 5a40a0 | #5a40a0 |
---|---|---|
RGB | 90, 64, 160 | rgb(90, 64, 160) |
RGB Percent | 35.29, 25.1, 62.75 | rgb(35.29, 25.1, 62.75) |
CMYK | 44, 60, 0, 37 | |
HSL | 256.3°, 42.86, 43.9 | hsl(256.3, 42.86%, 43.9%) |
HSV | 256.3°, 60, 62.7 |
XYZ | 12.395, 8.379, 34.222 |
---|---|
Hunter Lab | 28.947, 25.778, -49.833 |
CIE-LAB | 34.76, 34.762, -48.464 |
CIE-LCH | 34.76, 59.642, 305.651 |
CIE-LUV | 43.75, 60, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #5a40a0
CMYK percent of color #5a40a0
Text with hexadecimal color #5a40a0
This text has a font color of #5a40a0
<p style="color:#5a40a0">Text here</p>
#5a40a0 Background Color
This box has a background color of #5a40a0
<div style="background-color:#5a40a0">Text here</div>
#5a40a0 Border Color
This box has a border color of #5a40a0
<div style="border: 4px solid #5a40a0">Text here</div>
CSS codes
<p style="color:#5a40a0">Text here</p>
<div style="background-color:#5a40a0">Text here</div>
<div style="border: 4px solid #5a40a0">Text here</div>
#5a40a0 Color on white background
This is how a font and box color of #5a40a0 will look
on a white background.
#5a40a0 Color on black background
This is how a font and box color of #5a40a0 hex color will look
on a black background.