In RGB color space, #5a42a0 hex color has a red value of 90, a green value of 66 and a blue value of 160.
In CMYK color space (used in color printing), #5a42a0 hex color is composed of 43.75% cyan, 58.75% magenta, 0% yellow and 37.25% black.
#5a42a0 color has a hue of 255.3 degrees, a saturation of 41.59% and a lightness of 44.3%.
#5a42a0 hex color contains mainly BLUE.
The closest web safe color of #5a42a0 is #663399
#5a42a0 hex color has a decimal value of 5915296.
HEX | 5a42a0 | #5a42a0 |
---|---|---|
RGB | 90, 66, 160 | rgb(90, 66, 160) |
RGB Percent | 35.29, 25.88, 62.75 | rgb(35.29, 25.88, 62.75) |
CMYK | 44, 59, 0, 37 | |
HSL | 255.3°, 41.59, 44.3 | hsl(255.3, 41.59%, 44.3%) |
HSV | 255.3°, 58.8, 62.7 |
XYZ | 12.51, 8.608, 34.26 |
---|---|
Hunter Lab | 29.339, 24.767, -48.696 |
CIE-LAB | 35.218, 33.568, -47.724 |
CIE-LCH | 35.218, 58.347, 305.122 |
CIE-LUV | 43.75, 58.75, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #5a42a0
CMYK percent of color #5a42a0
Text with hexadecimal color #5a42a0
This text has a font color of #5a42a0
<p style="color:#5a42a0">Text here</p>
#5a42a0 Background Color
This box has a background color of #5a42a0
<div style="background-color:#5a42a0">Text here</div>
#5a42a0 Border Color
This box has a border color of #5a42a0
<div style="border: 4px solid #5a42a0">Text here</div>
CSS codes
<p style="color:#5a42a0">Text here</p>
<div style="background-color:#5a42a0">Text here</div>
<div style="border: 4px solid #5a42a0">Text here</div>
#5a42a0 Color on white background
This is how a font and box color of #5a42a0 will look
on a white background.
#5a42a0 Color on black background
This is how a font and box color of #5a42a0 hex color will look
on a black background.