In RGB color space, #5a2cd8 hex color has a red value of 90, a green value of 44 and a blue value of 216.
In CMYK color space (used in color printing), #5a2cd8 hex color is composed of 58.33% cyan, 79.63% magenta, 0% yellow and 15.29% black.
#5a2cd8 color has a hue of 256 degrees, a saturation of 68.8% and a lightness of 51%.
#5a2cd8 hex color contains mainly BLUE.
The closest web safe color of #5a2cd8 is #6633cc
#5a2cd8 hex color has a decimal value of 5909720.
HEX | 5a2cd8 | #5a2cd8 |
---|---|---|
RGB | 90, 44, 216 | rgb(90, 44, 216) |
RGB Percent | 35.29, 17.25, 84.71 | rgb(35.29, 17.25, 84.71) |
CMYK | 58, 80, 0, 15 | |
HSL | 256°, 68.8, 51 | hsl(256, 68.8%, 51%) |
HSV | 256°, 79.6, 84.7 |
XYZ | 17.512, 8.933, 65.767 |
---|---|
Hunter Lab | 29.888, 52.282, -109.542 |
CIE-LAB | 35.855, 61, -79.657 |
CIE-LCH | 35.855, 100.331, 307.444 |
CIE-LUV | 58.33, 79.63, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #5a2cd8
CMYK percent of color #5a2cd8
Text with hexadecimal color #5a2cd8
This text has a font color of #5a2cd8
<p style="color:#5a2cd8">Text here</p>
#5a2cd8 Background Color
This box has a background color of #5a2cd8
<div style="background-color:#5a2cd8">Text here</div>
#5a2cd8 Border Color
This box has a border color of #5a2cd8
<div style="border: 4px solid #5a2cd8">Text here</div>
CSS codes
<p style="color:#5a2cd8">Text here</p>
<div style="background-color:#5a2cd8">Text here</div>
<div style="border: 4px solid #5a2cd8">Text here</div>
#5a2cd8 Color on white background
This is how a font and box color of #5a2cd8 will look
on a white background.
#5a2cd8 Color on black background
This is how a font and box color of #5a2cd8 hex color will look
on a black background.