In RGB color space, #5a0242 hex color has a red value of 90, a green value of 2 and a blue value of 66.
In CMYK color space (used in color printing), #5a0242 hex color is composed of 0% cyan, 97.78% magenta, 26.67% yellow and 64.71% black.
#5a0242 color has a hue of 316.4 degrees, a saturation of 95.65% and a lightness of 18%.
#5a0242 hex color contains mainly RED.
The closest web safe color of #5a0242 is #660033
#5a0242 hex color has a decimal value of 5898818.
HEX | 5a0242 | #5a0242 |
---|---|---|
RGB | 90, 2, 66 | rgb(90, 2, 66) |
RGB Percent | 35.29, 0.78, 25.88 | rgb(35.29, 0.78, 25.88) |
CMYK | 0, 98, 27, 65 | |
HSL | 316.4°, 95.65, 18 | hsl(316.4, 95.65%, 18%) |
HSV | 316.4°, 97.8, 35.3 |
XYZ | 5.222, 2.61, 5.383 |
---|---|
Hunter Lab | 16.155, 29.425, -8.447 |
CIE-LAB | 18.409, 41.765, -14.078 |
CIE-LCH | 18.409, 44.074, 341.372 |
CIE-LUV | 0, 97.78, 26.67, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a0242
CMYK percent of color #5a0242
Text with hexadecimal color #5a0242
This text has a font color of #5a0242
<p style="color:#5a0242">Text here</p>
#5a0242 Background Color
This box has a background color of #5a0242
<div style="background-color:#5a0242">Text here</div>
#5a0242 Border Color
This box has a border color of #5a0242
<div style="border: 4px solid #5a0242">Text here</div>
CSS codes
<p style="color:#5a0242">Text here</p>
<div style="background-color:#5a0242">Text here</div>
<div style="border: 4px solid #5a0242">Text here</div>
#5a0242 Color on white background
This is how a font and box color of #5a0242 will look
on a white background.
#5a0242 Color on black background
This is how a font and box color of #5a0242 hex color will look
on a black background.