In RGB color space, #5a42d0 hex color has a red value of 90, a green value of 66 and a blue value of 208.
In CMYK color space (used in color printing), #5a42d0 hex color is composed of 56.73% cyan, 68.27% magenta, 0% yellow and 18.43% black.
#5a42d0 color has a hue of 250.1 degrees, a saturation of 60.17% and a lightness of 53.7%.
#5a42d0 hex color contains mainly BLUE.
The closest web safe color of #5a42d0 is #6633cc
#5a42d0 hex color has a decimal value of 5915344.
HEX | 5a42d0 | #5a42d0 |
---|---|---|
RGB | 90, 66, 208 | rgb(90, 66, 208) |
RGB Percent | 35.29, 25.88, 81.57 | rgb(35.29, 25.88, 81.57) |
CMYK | 57, 68, 0, 18 | |
HSL | 250.1°, 60.17, 53.7 | hsl(250.1, 60.17%, 53.7%) |
HSV | 250.1°, 68.3, 81.6 |
XYZ | 17.55, 10.624, 60.8 |
---|---|
Hunter Lab | 32.594, 39.07, -87.78 |
CIE-LAB | 38.94, 47.909, -69.97 |
CIE-LCH | 38.94, 84.8, 304.4 |
CIE-LUV | 56.73, 68.27, 0, 18.43 |
Web Safe | 6633cc |
RGB percent of color #5a42d0
CMYK percent of color #5a42d0
Text with hexadecimal color #5a42d0
This text has a font color of #5a42d0
<p style="color:#5a42d0">Text here</p>
#5a42d0 Background Color
This box has a background color of #5a42d0
<div style="background-color:#5a42d0">Text here</div>
#5a42d0 Border Color
This box has a border color of #5a42d0
<div style="border: 4px solid #5a42d0">Text here</div>
CSS codes
<p style="color:#5a42d0">Text here</p>
<div style="background-color:#5a42d0">Text here</div>
<div style="border: 4px solid #5a42d0">Text here</div>
#5a42d0 Color on white background
This is how a font and box color of #5a42d0 will look
on a white background.
#5a42d0 Color on black background
This is how a font and box color of #5a42d0 hex color will look
on a black background.