In RGB color space, #5c40a6 hex color has a red value of 92, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #5c40a6 hex color is composed of 44.58% cyan, 61.45% magenta, 0% yellow and 34.9% black.
#5c40a6 color has a hue of 256.5 degrees, a saturation of 44.35% and a lightness of 45.1%.
#5c40a6 hex color contains mainly BLUE.
The closest web safe color of #5c40a6 is #663399
#5c40a6 hex color has a decimal value of 6045862.
HEX | 5c40a6 | #5c40a6 |
---|---|---|
RGB | 92, 64, 166 | rgb(92, 64, 166) |
RGB Percent | 36.08, 25.1, 65.1 | rgb(36.08, 25.1, 65.1) |
CMYK | 45, 61, 0, 35 | |
HSL | 256.5°, 44.35, 45.1 | hsl(256.5, 44.35%, 45.1%) |
HSV | 256.5°, 61.4, 65.1 |
XYZ | 13.13, 8.695, 37.063 |
---|---|
Hunter Lab | 29.487, 27.879, -53.881 |
CIE-LAB | 35.39, 36.961, -51.04 |
CIE-LCH | 35.39, 63.017, 305.91 |
CIE-LUV | 44.58, 61.45, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5c40a6
CMYK percent of color #5c40a6
Text with hexadecimal color #5c40a6
This text has a font color of #5c40a6
<p style="color:#5c40a6">Text here</p>
#5c40a6 Background Color
This box has a background color of #5c40a6
<div style="background-color:#5c40a6">Text here</div>
#5c40a6 Border Color
This box has a border color of #5c40a6
<div style="border: 4px solid #5c40a6">Text here</div>
CSS codes
<p style="color:#5c40a6">Text here</p>
<div style="background-color:#5c40a6">Text here</div>
<div style="border: 4px solid #5c40a6">Text here</div>
#5c40a6 Color on white background
This is how a font and box color of #5c40a6 will look
on a white background.
#5c40a6 Color on black background
This is how a font and box color of #5c40a6 hex color will look
on a black background.