In RGB color space, #5a42cc hex color has a red value of 90, a green value of 66 and a blue value of 204.
In CMYK color space (used in color printing), #5a42cc hex color is composed of 55.88% cyan, 67.65% magenta, 0% yellow and 20% black.
#5a42cc color has a hue of 250.4 degrees, a saturation of 57.5% and a lightness of 52.9%.
#5a42cc hex color contains mainly BLUE.
The closest web safe color of #5a42cc is #6633cc
#5a42cc hex color has a decimal value of 5915340.
HEX | 5a42cc | #5a42cc |
---|---|---|
RGB | 90, 66, 204 | rgb(90, 66, 204) |
RGB Percent | 35.29, 25.88, 80 | rgb(35.29, 25.88, 80) |
CMYK | 56, 68, 0, 20 | |
HSL | 250.4°, 57.5, 52.9 | hsl(250.4, 57.5%, 52.9%) |
HSV | 250.4°, 67.6, 80 |
XYZ | 17.064, 10.43, 58.241 |
---|---|
Hunter Lab | 32.296, 37.797, -84.315 |
CIE-LAB | 38.603, 46.707, -68.206 |
CIE-LCH | 38.603, 82.666, 304.403 |
CIE-LUV | 55.88, 67.65, 0, 20 |
Web Safe | 6633cc |
RGB percent of color #5a42cc
CMYK percent of color #5a42cc
Text with hexadecimal color #5a42cc
This text has a font color of #5a42cc
<p style="color:#5a42cc">Text here</p>
#5a42cc Background Color
This box has a background color of #5a42cc
<div style="background-color:#5a42cc">Text here</div>
#5a42cc Border Color
This box has a border color of #5a42cc
<div style="border: 4px solid #5a42cc">Text here</div>
CSS codes
<p style="color:#5a42cc">Text here</p>
<div style="background-color:#5a42cc">Text here</div>
<div style="border: 4px solid #5a42cc">Text here</div>
#5a42cc Color on white background
This is how a font and box color of #5a42cc will look
on a white background.
#5a42cc Color on black background
This is how a font and box color of #5a42cc hex color will look
on a black background.