In RGB color space, #5a42ff hex color has a red value of 90, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #5a42ff hex color is composed of 64.71% cyan, 74.12% magenta, 0% yellow and 0% black.
#5a42ff color has a hue of 247.6 degrees, a saturation of 100% and a lightness of 62.9%.
#5a42ff hex color contains mainly BLUE.
The closest web safe color of #5a42ff is #6633ff
#5a42ff hex color has a decimal value of 5915391.
HEX | 5a42ff | #5a42ff |
---|---|---|
RGB | 90, 66, 255 | rgb(90, 66, 255) |
RGB Percent | 35.29, 25.88, 100 | rgb(35.29, 25.88, 100) |
CMYK | 65, 74, 0, 0 | |
HSL | 247.6°, 100, 62.9 | hsl(247.6, 100%, 62.9%) |
HSV | 247.6°, 74.1, 100 |
XYZ | 24.215, 13.29, 95.897 |
---|---|
Hunter Lab | 36.455, 54.769, -130.445 |
CIE-LAB | 43.197, 61.811, -89.646 |
CIE-LCH | 43.197, 108.89, 304.586 |
CIE-LUV | 64.71, 74.12, 0, 0 |
Web Safe | 6633ff |
RGB percent of color #5a42ff
CMYK percent of color #5a42ff
Text with hexadecimal color #5a42ff
This text has a font color of #5a42ff
<p style="color:#5a42ff">Text here</p>
#5a42ff Background Color
This box has a background color of #5a42ff
<div style="background-color:#5a42ff">Text here</div>
#5a42ff Border Color
This box has a border color of #5a42ff
<div style="border: 4px solid #5a42ff">Text here</div>
CSS codes
<p style="color:#5a42ff">Text here</p>
<div style="background-color:#5a42ff">Text here</div>
<div style="border: 4px solid #5a42ff">Text here</div>
#5a42ff Color on white background
This is how a font and box color of #5a42ff will look
on a white background.
#5a42ff Color on black background
This is how a font and box color of #5a42ff hex color will look
on a black background.