In RGB color space, #5a42fb hex color has a red value of 90, a green value of 66 and a blue value of 251.
In CMYK color space (used in color printing), #5a42fb hex color is composed of 64.14% cyan, 73.71% magenta, 0% yellow and 1.57% black.
#5a42fb color has a hue of 247.8 degrees, a saturation of 95.85% and a lightness of 62.2%.
#5a42fb hex color contains mainly BLUE.
The closest web safe color of #5a42fb is #6633ff
#5a42fb hex color has a decimal value of 5915387.
HEX | 5a42fb | #5a42fb |
---|---|---|
RGB | 90, 66, 251 | rgb(90, 66, 251) |
RGB Percent | 35.29, 25.88, 98.43 | rgb(35.29, 25.88, 98.43) |
CMYK | 64, 74, 0, 2 | |
HSL | 247.8°, 95.85, 62.2 | hsl(247.8, 95.85%, 62.2%) |
HSV | 247.8°, 73.7, 98.4 |
XYZ | 23.577, 13.035, 92.54 |
---|---|
Hunter Lab | 36.104, 53.384, -126.696 |
CIE-LAB | 42.816, 60.645, -88.04 |
CIE-LCH | 42.816, 106.906, 304.56 |
CIE-LUV | 64.14, 73.71, 0, 1.57 |
Web Safe | 6633ff |
RGB percent of color #5a42fb
CMYK percent of color #5a42fb
Text with hexadecimal color #5a42fb
This text has a font color of #5a42fb
<p style="color:#5a42fb">Text here</p>
#5a42fb Background Color
This box has a background color of #5a42fb
<div style="background-color:#5a42fb">Text here</div>
#5a42fb Border Color
This box has a border color of #5a42fb
<div style="border: 4px solid #5a42fb">Text here</div>
CSS codes
<p style="color:#5a42fb">Text here</p>
<div style="background-color:#5a42fb">Text here</div>
<div style="border: 4px solid #5a42fb">Text here</div>
#5a42fb Color on white background
This is how a font and box color of #5a42fb will look
on a white background.
#5a42fb Color on black background
This is how a font and box color of #5a42fb hex color will look
on a black background.