In RGB color space, #5a1942 hex color has a red value of 90, a green value of 25 and a blue value of 66.
In CMYK color space (used in color printing), #5a1942 hex color is composed of 0% cyan, 72.22% magenta, 26.67% yellow and 64.71% black.
#5a1942 color has a hue of 322.2 degrees, a saturation of 56.52% and a lightness of 22.5%.
#5a1942 hex color contains mainly RED.
The closest web safe color of #5a1942 is #660033
#5a1942 hex color has a decimal value of 5904706.
HEX | 5a1942 | #5a1942 |
---|---|---|
RGB | 90, 25, 66 | rgb(90, 25, 66) |
RGB Percent | 35.29, 9.8, 25.88 | rgb(35.29, 9.8, 25.88) |
CMYK | 0, 72, 27, 65 | |
HSL | 322.2°, 56.52, 22.5 | hsl(322.2, 56.52%, 22.5%) |
HSV | 322.2°, 72.2, 35.3 |
XYZ | 5.547, 3.262, 5.492 |
---|---|
Hunter Lab | 18.061, 23.215, -5.386 |
CIE-LAB | 21.064, 34.185, -9.992 |
CIE-LCH | 21.064, 35.615, 343.707 |
CIE-LUV | 0, 72.22, 26.67, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a1942
CMYK percent of color #5a1942
Text with hexadecimal color #5a1942
This text has a font color of #5a1942
<p style="color:#5a1942">Text here</p>
#5a1942 Background Color
This box has a background color of #5a1942
<div style="background-color:#5a1942">Text here</div>
#5a1942 Border Color
This box has a border color of #5a1942
<div style="border: 4px solid #5a1942">Text here</div>
CSS codes
<p style="color:#5a1942">Text here</p>
<div style="background-color:#5a1942">Text here</div>
<div style="border: 4px solid #5a1942">Text here</div>
#5a1942 Color on white background
This is how a font and box color of #5a1942 will look
on a white background.
#5a1942 Color on black background
This is how a font and box color of #5a1942 hex color will look
on a black background.