In RGB color space, #5a40f6 hex color has a red value of 90, a green value of 64 and a blue value of 246.
In CMYK color space (used in color printing), #5a40f6 hex color is composed of 63.41% cyan, 73.98% magenta, 0% yellow and 3.53% black.
#5a40f6 color has a hue of 248.6 degrees, a saturation of 91% and a lightness of 60.8%.
#5a40f6 hex color contains mainly BLUE.
The closest web safe color of #5a40f6 is #6633ff
#5a40f6 hex color has a decimal value of 5914870.
HEX | 5a40f6 | #5a40f6 |
---|---|---|
RGB | 90, 64, 246 | rgb(90, 64, 246) |
RGB Percent | 35.29, 25.1, 96.47 | rgb(35.29, 25.1, 96.47) |
CMYK | 63, 74, 0, 4 | |
HSL | 248.6°, 91, 60.8 | hsl(248.6, 91%, 60.8%) |
HSV | 248.6°, 74, 96.5 |
XYZ | 22.684, 12.494, 88.405 |
---|---|
Hunter Lab | 35.347, 52.696, -123.546 |
CIE-LAB | 41.991, 60.184, -86.598 |
CIE-LCH | 41.991, 105.458, 304.799 |
CIE-LUV | 63.41, 73.98, 0, 3.53 |
Web Safe | 6633ff |
RGB percent of color #5a40f6
CMYK percent of color #5a40f6
Text with hexadecimal color #5a40f6
This text has a font color of #5a40f6
<p style="color:#5a40f6">Text here</p>
#5a40f6 Background Color
This box has a background color of #5a40f6
<div style="background-color:#5a40f6">Text here</div>
#5a40f6 Border Color
This box has a border color of #5a40f6
<div style="border: 4px solid #5a40f6">Text here</div>
CSS codes
<p style="color:#5a40f6">Text here</p>
<div style="background-color:#5a40f6">Text here</div>
<div style="border: 4px solid #5a40f6">Text here</div>
#5a40f6 Color on white background
This is how a font and box color of #5a40f6 will look
on a white background.
#5a40f6 Color on black background
This is how a font and box color of #5a40f6 hex color will look
on a black background.