In RGB color space, #5a1252 hex color has a red value of 90, a green value of 18 and a blue value of 82.
In CMYK color space (used in color printing), #5a1252 hex color is composed of 0% cyan, 80% magenta, 8.89% yellow and 64.71% black.
#5a1252 color has a hue of 306.7 degrees, a saturation of 66.67% and a lightness of 21.2%.
#5a1252 hex color contains mainly RED.
The closest web safe color of #5a1252 is #660066
#5a1252 hex color has a decimal value of 5902930.
HEX | 5a1252 | #5a1252 |
---|---|---|
RGB | 90, 18, 82 | rgb(90, 18, 82) |
RGB Percent | 35.29, 7.06, 32.16 | rgb(35.29, 7.06, 32.16) |
CMYK | 0, 80, 9, 65 | |
HSL | 306.7°, 66.67, 21.2 | hsl(306.7, 66.67%, 21.2%) |
HSV | 306.7°, 80, 35.3 |
XYZ | 5.956, 3.215, 8.289 |
---|---|
Hunter Lab | 17.93, 27.915, -14.858 |
CIE-LAB | 20.885, 39.611, -21.169 |
CIE-LCH | 20.885, 44.913, 331.879 |
CIE-LUV | 0, 80, 8.89, 64.71 |
Web Safe | 660066 |
RGB percent of color #5a1252
CMYK percent of color #5a1252
Text with hexadecimal color #5a1252
This text has a font color of #5a1252
<p style="color:#5a1252">Text here</p>
#5a1252 Background Color
This box has a background color of #5a1252
<div style="background-color:#5a1252">Text here</div>
#5a1252 Border Color
This box has a border color of #5a1252
<div style="border: 4px solid #5a1252">Text here</div>
CSS codes
<p style="color:#5a1252">Text here</p>
<div style="background-color:#5a1252">Text here</div>
<div style="border: 4px solid #5a1252">Text here</div>
#5a1252 Color on white background
This is how a font and box color of #5a1252 will look
on a white background.
#5a1252 Color on black background
This is how a font and box color of #5a1252 hex color will look
on a black background.