In RGB color space, #5a1982 hex color has a red value of 90, a green value of 25 and a blue value of 130.
In CMYK color space (used in color printing), #5a1982 hex color is composed of 30.77% cyan, 80.77% magenta, 0% yellow and 49.02% black.
#5a1982 color has a hue of 277.1 degrees, a saturation of 67.74% and a lightness of 30.4%.
#5a1982 hex color contains mainly BLUE.
The closest web safe color of #5a1982 is #660099
#5a1982 hex color has a decimal value of 5904770.
HEX | 5a1982 | #5a1982 |
---|---|---|
RGB | 90, 25, 130 | rgb(90, 25, 130) |
RGB Percent | 35.29, 9.8, 50.98 | rgb(35.29, 9.8, 50.98) |
CMYK | 31, 81, 0, 49 | |
HSL | 277.1°, 67.74, 30.4 | hsl(277.1, 67.74%, 30.4%) |
HSV | 277.1°, 80.8, 51 |
XYZ | 8.593, 4.481, 21.531 |
---|---|
Hunter Lab | 21.168, 35.415, -45.488 |
CIE-LAB | 25.202, 46.814, -45.482 |
CIE-LCH | 25.202, 65.27, 315.827 |
CIE-LUV | 30.77, 80.77, 0, 49.02 |
Web Safe | 660099 |
RGB percent of color #5a1982
CMYK percent of color #5a1982
Text with hexadecimal color #5a1982
This text has a font color of #5a1982
<p style="color:#5a1982">Text here</p>
#5a1982 Background Color
This box has a background color of #5a1982
<div style="background-color:#5a1982">Text here</div>
#5a1982 Border Color
This box has a border color of #5a1982
<div style="border: 4px solid #5a1982">Text here</div>
CSS codes
<p style="color:#5a1982">Text here</p>
<div style="background-color:#5a1982">Text here</div>
<div style="border: 4px solid #5a1982">Text here</div>
#5a1982 Color on white background
This is how a font and box color of #5a1982 will look
on a white background.
#5a1982 Color on black background
This is how a font and box color of #5a1982 hex color will look
on a black background.