In RGB color space, #5a2142 hex color has a red value of 90, a green value of 33 and a blue value of 66.
In CMYK color space (used in color printing), #5a2142 hex color is composed of 0% cyan, 63.33% magenta, 26.67% yellow and 64.71% black.
#5a2142 color has a hue of 325.3 degrees, a saturation of 46.34% and a lightness of 24.1%.
#5a2142 hex color contains mainly RED.
The closest web safe color of #5a2142 is #663333
#5a2142 hex color has a decimal value of 5906754.
HEX | 5a2142 | #5a2142 |
---|---|---|
RGB | 90, 33, 66 | rgb(90, 33, 66) |
RGB Percent | 35.29, 12.94, 25.88 | rgb(35.29, 12.94, 25.88) |
CMYK | 0, 63, 27, 65 | |
HSL | 325.3°, 46.34, 24.1 | hsl(325.3, 46.34%, 24.1%) |
HSV | 325.3°, 63.3, 35.3 |
XYZ | 5.744, 3.655, 5.557 |
---|---|
Hunter Lab | 19.118, 20.174, -3.851 |
CIE-LAB | 22.496, 30.281, -7.813 |
CIE-LCH | 22.496, 31.273, 345.532 |
CIE-LUV | 0, 63.33, 26.67, 64.71 |
Web Safe | 663333 |
RGB percent of color #5a2142
CMYK percent of color #5a2142
Text with hexadecimal color #5a2142
This text has a font color of #5a2142
<p style="color:#5a2142">Text here</p>
#5a2142 Background Color
This box has a background color of #5a2142
<div style="background-color:#5a2142">Text here</div>
#5a2142 Border Color
This box has a border color of #5a2142
<div style="border: 4px solid #5a2142">Text here</div>
CSS codes
<p style="color:#5a2142">Text here</p>
<div style="background-color:#5a2142">Text here</div>
<div style="border: 4px solid #5a2142">Text here</div>
#5a2142 Color on white background
This is how a font and box color of #5a2142 will look
on a white background.
#5a2142 Color on black background
This is how a font and box color of #5a2142 hex color will look
on a black background.