In RGB color space, #5a0796 hex color has a red value of 90, a green value of 7 and a blue value of 150.
In CMYK color space (used in color printing), #5a0796 hex color is composed of 40% cyan, 95.33% magenta, 0% yellow and 41.18% black.
#5a0796 color has a hue of 274.8 degrees, a saturation of 91.08% and a lightness of 30.8%.
#5a0796 hex color contains mainly BLUE.
The closest web safe color of #5a0796 is #660099
#5a0796 hex color has a decimal value of 5900182.
HEX | 5a0796 | #5a0796 |
---|---|---|
RGB | 90, 7, 150 | rgb(90, 7, 150) |
RGB Percent | 35.29, 2.75, 58.82 | rgb(35.29, 2.75, 58.82) |
CMYK | 40, 95, 0, 41 | |
HSL | 274.8°, 91.08, 30.8 | hsl(274.8, 91.08%, 30.8%) |
HSV | 274.8°, 95.3, 58.8 |
XYZ | 9.797, 4.528, 29.212 |
---|---|
Hunter Lab | 21.279, 44.944, -66.498 |
CIE-LAB | 25.345, 56.222, -57.707 |
CIE-LCH | 25.345, 80.567, 314.253 |
CIE-LUV | 40, 95.33, 0, 41.18 |
Web Safe | 660099 |
RGB percent of color #5a0796
CMYK percent of color #5a0796
Text with hexadecimal color #5a0796
This text has a font color of #5a0796
<p style="color:#5a0796">Text here</p>
#5a0796 Background Color
This box has a background color of #5a0796
<div style="background-color:#5a0796">Text here</div>
#5a0796 Border Color
This box has a border color of #5a0796
<div style="border: 4px solid #5a0796">Text here</div>
CSS codes
<p style="color:#5a0796">Text here</p>
<div style="background-color:#5a0796">Text here</div>
<div style="border: 4px solid #5a0796">Text here</div>
#5a0796 Color on white background
This is how a font and box color of #5a0796 will look
on a white background.
#5a0796 Color on black background
This is how a font and box color of #5a0796 hex color will look
on a black background.