In RGB color space, #5a42d9 hex color has a red value of 90, a green value of 66 and a blue value of 217.
In CMYK color space (used in color printing), #5a42d9 hex color is composed of 58.53% cyan, 69.59% magenta, 0% yellow and 14.9% black.
#5a42d9 color has a hue of 249.5 degrees, a saturation of 66.52% and a lightness of 55.5%.
#5a42d9 hex color contains mainly BLUE.
The closest web safe color of #5a42d9 is #6633cc
#5a42d9 hex color has a decimal value of 5915353.
HEX | 5a42d9 | #5a42d9 |
---|---|---|
RGB | 90, 66, 217 | rgb(90, 66, 217) |
RGB Percent | 35.29, 25.88, 85.1 | rgb(35.29, 25.88, 85.1) |
CMYK | 59, 70, 0, 15 | |
HSL | 249.5°, 66.52, 55.5 | hsl(249.5, 66.52%, 55.5%) |
HSV | 249.5°, 69.6, 85.1 |
XYZ | 18.689, 11.08, 66.799 |
---|---|
Hunter Lab | 33.287, 41.968, -95.681 |
CIE-LAB | 39.715, 50.599, -73.882 |
CIE-LCH | 39.715, 89.548, 304.406 |
CIE-LUV | 58.53, 69.59, 0, 14.9 |
Web Safe | 6633cc |
RGB percent of color #5a42d9
CMYK percent of color #5a42d9
Text with hexadecimal color #5a42d9
This text has a font color of #5a42d9
<p style="color:#5a42d9">Text here</p>
#5a42d9 Background Color
This box has a background color of #5a42d9
<div style="background-color:#5a42d9">Text here</div>
#5a42d9 Border Color
This box has a border color of #5a42d9
<div style="border: 4px solid #5a42d9">Text here</div>
CSS codes
<p style="color:#5a42d9">Text here</p>
<div style="background-color:#5a42d9">Text here</div>
<div style="border: 4px solid #5a42d9">Text here</div>
#5a42d9 Color on white background
This is how a font and box color of #5a42d9 will look
on a white background.
#5a42d9 Color on black background
This is how a font and box color of #5a42d9 hex color will look
on a black background.