In RGB color space, #5a42f7 hex color has a red value of 90, a green value of 66 and a blue value of 247.
In CMYK color space (used in color printing), #5a42f7 hex color is composed of 63.56% cyan, 73.28% magenta, 0% yellow and 3.14% black.
#5a42f7 color has a hue of 248 degrees, a saturation of 91.88% and a lightness of 61.4%.
#5a42f7 hex color contains mainly BLUE.
The closest web safe color of #5a42f7 is #6633ff
#5a42f7 hex color has a decimal value of 5915383.
HEX | 5a42f7 | #5a42f7 |
---|---|---|
RGB | 90, 66, 247 | rgb(90, 66, 247) |
RGB Percent | 35.29, 25.88, 96.86 | rgb(35.29, 25.88, 96.86) |
CMYK | 64, 73, 0, 3 | |
HSL | 248°, 91.88, 61.4 | hsl(248, 91.88%, 61.4%) |
HSV | 248°, 73.3, 96.9 |
XYZ | 22.953, 12.785, 89.254 |
---|---|
Hunter Lab | 35.756, 52.012, -122.97 |
CIE-LAB | 42.437, 59.48, -86.423 |
CIE-LCH | 42.437, 104.913, 304.537 |
CIE-LUV | 63.56, 73.28, 0, 3.14 |
Web Safe | 6633ff |
RGB percent of color #5a42f7
CMYK percent of color #5a42f7
Text with hexadecimal color #5a42f7
This text has a font color of #5a42f7
<p style="color:#5a42f7">Text here</p>
#5a42f7 Background Color
This box has a background color of #5a42f7
<div style="background-color:#5a42f7">Text here</div>
#5a42f7 Border Color
This box has a border color of #5a42f7
<div style="border: 4px solid #5a42f7">Text here</div>
CSS codes
<p style="color:#5a42f7">Text here</p>
<div style="background-color:#5a42f7">Text here</div>
<div style="border: 4px solid #5a42f7">Text here</div>
#5a42f7 Color on white background
This is how a font and box color of #5a42f7 will look
on a white background.
#5a42f7 Color on black background
This is how a font and box color of #5a42f7 hex color will look
on a black background.