In RGB color space, #5a42f1 hex color has a red value of 90, a green value of 66 and a blue value of 241.
In CMYK color space (used in color printing), #5a42f1 hex color is composed of 62.66% cyan, 72.61% magenta, 0% yellow and 5.49% black.
#5a42f1 color has a hue of 248.2 degrees, a saturation of 86.21% and a lightness of 60.2%.
#5a42f1 hex color contains mainly BLUE.
The closest web safe color of #5a42f1 is #6633ff
#5a42f1 hex color has a decimal value of 5915377.
HEX | 5a42f1 | #5a42f1 |
---|---|---|
RGB | 90, 66, 241 | rgb(90, 66, 241) |
RGB Percent | 35.29, 25.88, 94.51 | rgb(35.29, 25.88, 94.51) |
CMYK | 63, 73, 0, 5 | |
HSL | 248.2°, 86.21, 60.2 | hsl(248.2, 86.21%, 60.2%) |
HSV | 248.2°, 72.6, 94.5 |
XYZ | 22.042, 12.421, 84.455 |
---|---|
Hunter Lab | 35.243, 49.962, -117.408 |
CIE-LAB | 41.878, 57.718, -83.971 |
CIE-LCH | 41.878, 101.895, 304.503 |
CIE-LUV | 62.66, 72.61, 0, 5.49 |
Web Safe | 6633ff |
RGB percent of color #5a42f1
CMYK percent of color #5a42f1
Text with hexadecimal color #5a42f1
This text has a font color of #5a42f1
<p style="color:#5a42f1">Text here</p>
#5a42f1 Background Color
This box has a background color of #5a42f1
<div style="background-color:#5a42f1">Text here</div>
#5a42f1 Border Color
This box has a border color of #5a42f1
<div style="border: 4px solid #5a42f1">Text here</div>
CSS codes
<p style="color:#5a42f1">Text here</p>
<div style="background-color:#5a42f1">Text here</div>
<div style="border: 4px solid #5a42f1">Text here</div>
#5a42f1 Color on white background
This is how a font and box color of #5a42f1 will look
on a white background.
#5a42f1 Color on black background
This is how a font and box color of #5a42f1 hex color will look
on a black background.