In RGB color space, #5a42b4 hex color has a red value of 90, a green value of 66 and a blue value of 180.
In CMYK color space (used in color printing), #5a42b4 hex color is composed of 50% cyan, 63.33% magenta, 0% yellow and 29.41% black.
#5a42b4 color has a hue of 252.6 degrees, a saturation of 46.34% and a lightness of 48.2%.
#5a42b4 hex color contains mainly BLUE.
The closest web safe color of #5a42b4 is #6633cc
#5a42b4 hex color has a decimal value of 5915316.
HEX | 5a42b4 | #5a42b4 |
---|---|---|
RGB | 90, 66, 180 | rgb(90, 66, 180) |
RGB Percent | 35.29, 25.88, 70.59 | rgb(35.29, 25.88, 70.59) |
CMYK | 50, 63, 0, 29 | |
HSL | 252.6°, 46.34, 48.2 | hsl(252.6, 46.34%, 48.2%) |
HSV | 252.6°, 63.3, 70.6 |
XYZ | 14.403, 9.365, 44.229 |
---|---|
Hunter Lab | 30.602, 30.457, -64.269 |
CIE-LAB | 36.678, 39.509, -57.296 |
CIE-LCH | 36.678, 69.597, 304.589 |
CIE-LUV | 50, 63.33, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #5a42b4
CMYK percent of color #5a42b4
Text with hexadecimal color #5a42b4
This text has a font color of #5a42b4
<p style="color:#5a42b4">Text here</p>
#5a42b4 Background Color
This box has a background color of #5a42b4
<div style="background-color:#5a42b4">Text here</div>
#5a42b4 Border Color
This box has a border color of #5a42b4
<div style="border: 4px solid #5a42b4">Text here</div>
CSS codes
<p style="color:#5a42b4">Text here</p>
<div style="background-color:#5a42b4">Text here</div>
<div style="border: 4px solid #5a42b4">Text here</div>
#5a42b4 Color on white background
This is how a font and box color of #5a42b4 will look
on a white background.
#5a42b4 Color on black background
This is how a font and box color of #5a42b4 hex color will look
on a black background.