In RGB color space, #5a0798 hex color has a red value of 90, a green value of 7 and a blue value of 152.
In CMYK color space (used in color printing), #5a0798 hex color is composed of 40.79% cyan, 95.39% magenta, 0% yellow and 40.39% black.
#5a0798 color has a hue of 274.3 degrees, a saturation of 91.19% and a lightness of 31.2%.
#5a0798 hex color contains mainly BLUE.
The closest web safe color of #5a0798 is #660099
#5a0798 hex color has a decimal value of 5900184.
HEX | 5a0798 | #5a0798 |
---|---|---|
RGB | 90, 7, 152 | rgb(90, 7, 152) |
RGB Percent | 35.29, 2.75, 59.61 | rgb(35.29, 2.75, 59.61) |
CMYK | 41, 95, 0, 40 | |
HSL | 274.3°, 91.19, 31.2 | hsl(274.3, 91.19%, 31.2%) |
HSV | 274.3°, 95.4, 59.6 |
XYZ | 9.96, 4.593, 30.067 |
---|---|
Hunter Lab | 21.431, 45.452, -68.179 |
CIE-LAB | 25.542, 56.666, -58.614 |
CIE-LCH | 25.542, 81.527, 314.032 |
CIE-LUV | 40.79, 95.39, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #5a0798
CMYK percent of color #5a0798
Text with hexadecimal color #5a0798
This text has a font color of #5a0798
<p style="color:#5a0798">Text here</p>
#5a0798 Background Color
This box has a background color of #5a0798
<div style="background-color:#5a0798">Text here</div>
#5a0798 Border Color
This box has a border color of #5a0798
<div style="border: 4px solid #5a0798">Text here</div>
CSS codes
<p style="color:#5a0798">Text here</p>
<div style="background-color:#5a0798">Text here</div>
<div style="border: 4px solid #5a0798">Text here</div>
#5a0798 Color on white background
This is how a font and box color of #5a0798 will look
on a white background.
#5a0798 Color on black background
This is how a font and box color of #5a0798 hex color will look
on a black background.