In RGB color space, #5a0152 hex color has a red value of 90, a green value of 1 and a blue value of 82.
In CMYK color space (used in color printing), #5a0152 hex color is composed of 0% cyan, 98.89% magenta, 8.89% yellow and 64.71% black.
#5a0152 color has a hue of 305.4 degrees, a saturation of 97.8% and a lightness of 17.8%.
#5a0152 hex color contains mainly RED.
The closest web safe color of #5a0152 is #660066
#5a0152 hex color has a decimal value of 5898578.
HEX | 5a0152 | #5a0152 |
---|---|---|
RGB | 90, 1, 82 | rgb(90, 1, 82) |
RGB Percent | 35.29, 0.39, 32.16 | rgb(35.29, 0.39, 32.16) |
CMYK | 0, 99, 9, 65 | |
HSL | 305.4°, 97.8, 17.8 | hsl(305.4, 97.8%, 17.8%) |
HSV | 305.4°, 98.9, 35.3 |
XYZ | 5.75, 2.805, 8.221 |
---|---|
Hunter Lab | 16.748, 31.974, -17.379 |
CIE-LAB | 19.245, 44.362, -23.764 |
CIE-LCH | 19.245, 50.326, 331.823 |
CIE-LUV | 0, 98.89, 8.89, 64.71 |
Web Safe | 660066 |
RGB percent of color #5a0152
CMYK percent of color #5a0152
Text with hexadecimal color #5a0152
This text has a font color of #5a0152
<p style="color:#5a0152">Text here</p>
#5a0152 Background Color
This box has a background color of #5a0152
<div style="background-color:#5a0152">Text here</div>
#5a0152 Border Color
This box has a border color of #5a0152
<div style="border: 4px solid #5a0152">Text here</div>
CSS codes
<p style="color:#5a0152">Text here</p>
<div style="background-color:#5a0152">Text here</div>
<div style="border: 4px solid #5a0152">Text here</div>
#5a0152 Color on white background
This is how a font and box color of #5a0152 will look
on a white background.
#5a0152 Color on black background
This is how a font and box color of #5a0152 hex color will look
on a black background.