In RGB color space, #5a42d7 hex color has a red value of 90, a green value of 66 and a blue value of 215.
In CMYK color space (used in color printing), #5a42d7 hex color is composed of 58.14% cyan, 69.3% magenta, 0% yellow and 15.69% black.
#5a42d7 color has a hue of 249.7 degrees, a saturation of 65.07% and a lightness of 55.1%.
#5a42d7 hex color contains mainly BLUE.
The closest web safe color of #5a42d7 is #6633cc
#5a42d7 hex color has a decimal value of 5915351.
HEX | 5a42d7 | #5a42d7 |
---|---|---|
RGB | 90, 66, 215 | rgb(90, 66, 215) |
RGB Percent | 35.29, 25.88, 84.31 | rgb(35.29, 25.88, 84.31) |
CMYK | 58, 69, 0, 16 | |
HSL | 249.7°, 65.07, 55.1 | hsl(249.7, 65.07%, 55.1%) |
HSV | 249.7°, 69.3, 84.3 |
XYZ | 18.43, 10.976, 65.437 |
---|---|
Hunter Lab | 33.13, 41.321, -93.916 |
CIE-LAB | 39.54, 50.004, -73.02 |
CIE-LCH | 39.54, 88.5, 304.403 |
CIE-LUV | 58.14, 69.3, 0, 15.69 |
Web Safe | 6633cc |
RGB percent of color #5a42d7
CMYK percent of color #5a42d7
Text with hexadecimal color #5a42d7
This text has a font color of #5a42d7
<p style="color:#5a42d7">Text here</p>
#5a42d7 Background Color
This box has a background color of #5a42d7
<div style="background-color:#5a42d7">Text here</div>
#5a42d7 Border Color
This box has a border color of #5a42d7
<div style="border: 4px solid #5a42d7">Text here</div>
CSS codes
<p style="color:#5a42d7">Text here</p>
<div style="background-color:#5a42d7">Text here</div>
<div style="border: 4px solid #5a42d7">Text here</div>
#5a42d7 Color on white background
This is how a font and box color of #5a42d7 will look
on a white background.
#5a42d7 Color on black background
This is how a font and box color of #5a42d7 hex color will look
on a black background.