In RGB color space, #5a42bd hex color has a red value of 90, a green value of 66 and a blue value of 189.
In CMYK color space (used in color printing), #5a42bd hex color is composed of 52.38% cyan, 65.08% magenta, 0% yellow and 25.88% black.
#5a42bd color has a hue of 251.7 degrees, a saturation of 48.24% and a lightness of 50%.
#5a42bd hex color contains mainly BLUE.
The closest web safe color of #5a42bd is #6633cc
#5a42bd hex color has a decimal value of 5915325.
HEX | 5a42bd | #5a42bd |
---|---|---|
RGB | 90, 66, 189 | rgb(90, 66, 189) |
RGB Percent | 35.29, 25.88, 74.12 | rgb(35.29, 25.88, 74.12) |
CMYK | 52, 65, 0, 26 | |
HSL | 251.7°, 48.24, 50 | hsl(251.7, 48.24%, 50%) |
HSV | 251.7°, 65.1, 74.1 |
XYZ | 15.35, 9.744, 49.216 |
---|---|
Hunter Lab | 31.215, 33.15, -71.629 |
CIE-LAB | 37.379, 42.205, -61.457 |
CIE-LCH | 37.379, 74.554, 304.479 |
CIE-LUV | 52.38, 65.08, 0, 25.88 |
Web Safe | 6633cc |
RGB percent of color #5a42bd
CMYK percent of color #5a42bd
Text with hexadecimal color #5a42bd
This text has a font color of #5a42bd
<p style="color:#5a42bd">Text here</p>
#5a42bd Background Color
This box has a background color of #5a42bd
<div style="background-color:#5a42bd">Text here</div>
#5a42bd Border Color
This box has a border color of #5a42bd
<div style="border: 4px solid #5a42bd">Text here</div>
CSS codes
<p style="color:#5a42bd">Text here</p>
<div style="background-color:#5a42bd">Text here</div>
<div style="border: 4px solid #5a42bd">Text here</div>
#5a42bd Color on white background
This is how a font and box color of #5a42bd will look
on a white background.
#5a42bd Color on black background
This is how a font and box color of #5a42bd hex color will look
on a black background.