In RGB color space, #5c40a0 hex color has a red value of 92, a green value of 64 and a blue value of 160.
In CMYK color space (used in color printing), #5c40a0 hex color is composed of 42.5% cyan, 60% magenta, 0% yellow and 37.25% black.
#5c40a0 color has a hue of 257.5 degrees, a saturation of 42.86% and a lightness of 43.9%.
#5c40a0 hex color contains mainly BLUE.
The closest web safe color of #5c40a0 is #663399
#5c40a0 hex color has a decimal value of 6045856.
HEX | 5c40a0 | #5c40a0 |
---|---|---|
RGB | 92, 64, 160 | rgb(92, 64, 160) |
RGB Percent | 36.08, 25.1, 62.75 | rgb(36.08, 25.1, 62.75) |
CMYK | 43, 60, 0, 37 | |
HSL | 257.5°, 42.86, 43.9 | hsl(257.5, 42.86%, 43.9%) |
HSV | 257.5°, 60, 62.7 |
XYZ | 12.592, 8.48, 34.231 |
---|---|
Hunter Lab | 29.12, 26.225, -49.311 |
CIE-LAB | 34.963, 35.223, -48.125 |
CIE-LCH | 34.963, 59.638, 306.201 |
CIE-LUV | 42.5, 60, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #5c40a0
CMYK percent of color #5c40a0
Text with hexadecimal color #5c40a0
This text has a font color of #5c40a0
<p style="color:#5c40a0">Text here</p>
#5c40a0 Background Color
This box has a background color of #5c40a0
<div style="background-color:#5c40a0">Text here</div>
#5c40a0 Border Color
This box has a border color of #5c40a0
<div style="border: 4px solid #5c40a0">Text here</div>
CSS codes
<p style="color:#5c40a0">Text here</p>
<div style="background-color:#5c40a0">Text here</div>
<div style="border: 4px solid #5c40a0">Text here</div>
#5c40a0 Color on white background
This is how a font and box color of #5c40a0 will look
on a white background.
#5c40a0 Color on black background
This is how a font and box color of #5c40a0 hex color will look
on a black background.