In RGB color space, #5a1cd8 hex color has a red value of 90, a green value of 28 and a blue value of 216.
In CMYK color space (used in color printing), #5a1cd8 hex color is composed of 58.33% cyan, 87.04% magenta, 0% yellow and 15.29% black.
#5a1cd8 color has a hue of 259.8 degrees, a saturation of 77.05% and a lightness of 47.8%.
#5a1cd8 hex color contains mainly BLUE.
The closest web safe color of #5a1cd8 is #6633cc
#5a1cd8 hex color has a decimal value of 5905624.
HEX | 5a1cd8 | #5a1cd8 |
---|---|---|
RGB | 90, 28, 216 | rgb(90, 28, 216) |
RGB Percent | 35.29, 10.98, 84.71 | rgb(35.29, 10.98, 84.71) |
CMYK | 58, 87, 0, 15 | |
HSL | 259.8°, 77.05, 47.8 | hsl(259.8, 77.05%, 47.8%) |
HSV | 259.8°, 87, 84.7 |
XYZ | 17.026, 7.962, 65.605 |
---|---|
Hunter Lab | 28.217, 58.326, -118.098 |
CIE-LAB | 33.904, 66.755, -82.882 |
CIE-LCH | 33.904, 106.422, 308.849 |
CIE-LUV | 58.33, 87.04, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #5a1cd8
CMYK percent of color #5a1cd8
Text with hexadecimal color #5a1cd8
This text has a font color of #5a1cd8
<p style="color:#5a1cd8">Text here</p>
#5a1cd8 Background Color
This box has a background color of #5a1cd8
<div style="background-color:#5a1cd8">Text here</div>
#5a1cd8 Border Color
This box has a border color of #5a1cd8
<div style="border: 4px solid #5a1cd8">Text here</div>
CSS codes
<p style="color:#5a1cd8">Text here</p>
<div style="background-color:#5a1cd8">Text here</div>
<div style="border: 4px solid #5a1cd8">Text here</div>
#5a1cd8 Color on white background
This is how a font and box color of #5a1cd8 will look
on a white background.
#5a1cd8 Color on black background
This is how a font and box color of #5a1cd8 hex color will look
on a black background.