In RGB color space, #5a2178 hex color has a red value of 90, a green value of 33 and a blue value of 120.
In CMYK color space (used in color printing), #5a2178 hex color is composed of 25% cyan, 72.5% magenta, 0% yellow and 52.94% black.
#5a2178 color has a hue of 279.3 degrees, a saturation of 56.86% and a lightness of 30%.
#5a2178 hex color contains mainly BLUE.
The closest web safe color of #5a2178 is #663366
#5a2178 hex color has a decimal value of 5906808.
HEX | 5a2178 | #5a2178 |
---|---|---|
RGB | 90, 33, 120 | rgb(90, 33, 120) |
RGB Percent | 35.29, 12.94, 47.06 | rgb(35.29, 12.94, 47.06) |
CMYK | 25, 73, 0, 53 | |
HSL | 279.3°, 56.86, 30 | hsl(279.3, 56.86%, 30%) |
HSV | 279.3°, 72.5, 47.1 |
XYZ | 8.15, 4.617, 18.231 |
---|---|
Hunter Lab | 21.487, 30.102, -35.264 |
CIE-LAB | 25.614, 41.111, -38.484 |
CIE-LCH | 25.614, 56.313, 316.89 |
CIE-LUV | 25, 72.5, 0, 52.94 |
Web Safe | 663366 |
RGB percent of color #5a2178
CMYK percent of color #5a2178
Text with hexadecimal color #5a2178
This text has a font color of #5a2178
<p style="color:#5a2178">Text here</p>
#5a2178 Background Color
This box has a background color of #5a2178
<div style="background-color:#5a2178">Text here</div>
#5a2178 Border Color
This box has a border color of #5a2178
<div style="border: 4px solid #5a2178">Text here</div>
CSS codes
<p style="color:#5a2178">Text here</p>
<div style="background-color:#5a2178">Text here</div>
<div style="border: 4px solid #5a2178">Text here</div>
#5a2178 Color on white background
This is how a font and box color of #5a2178 will look
on a white background.
#5a2178 Color on black background
This is how a font and box color of #5a2178 hex color will look
on a black background.