In RGB color space, #5a42e3 hex color has a red value of 90, a green value of 66 and a blue value of 227.
In CMYK color space (used in color printing), #5a42e3 hex color is composed of 60.35% cyan, 70.93% magenta, 0% yellow and 10.98% black.
#5a42e3 color has a hue of 248.9 degrees, a saturation of 74.19% and a lightness of 57.5%.
#5a42e3 hex color contains mainly BLUE.
The closest web safe color of #5a42e3 is #6633cc
#5a42e3 hex color has a decimal value of 5915363.
HEX | 5a42e3 | #5a42e3 |
---|---|---|
RGB | 90, 66, 227 | rgb(90, 66, 227) |
RGB Percent | 35.29, 25.88, 89.02 | rgb(35.29, 25.88, 89.02) |
CMYK | 60, 71, 0, 11 | |
HSL | 248.9°, 74.19, 57.5 | hsl(248.9, 74.19%, 57.5%) |
HSV | 248.9°, 70.9, 89 |
XYZ | 20.03, 11.616, 73.859 |
---|---|
Hunter Lab | 34.082, 45.26, -104.629 |
CIE-LAB | 40.599, 53.582, -78.145 |
CIE-LCH | 40.599, 94.751, 304.437 |
CIE-LUV | 60.35, 70.93, 0, 10.98 |
Web Safe | 6633cc |
RGB percent of color #5a42e3
CMYK percent of color #5a42e3
Text with hexadecimal color #5a42e3
This text has a font color of #5a42e3
<p style="color:#5a42e3">Text here</p>
#5a42e3 Background Color
This box has a background color of #5a42e3
<div style="background-color:#5a42e3">Text here</div>
#5a42e3 Border Color
This box has a border color of #5a42e3
<div style="border: 4px solid #5a42e3">Text here</div>
CSS codes
<p style="color:#5a42e3">Text here</p>
<div style="background-color:#5a42e3">Text here</div>
<div style="border: 4px solid #5a42e3">Text here</div>
#5a42e3 Color on white background
This is how a font and box color of #5a42e3 will look
on a white background.
#5a42e3 Color on black background
This is how a font and box color of #5a42e3 hex color will look
on a black background.