In RGB color space, #5a0142 hex color has a red value of 90, a green value of 1 and a blue value of 66.
In CMYK color space (used in color printing), #5a0142 hex color is composed of 0% cyan, 98.89% magenta, 26.67% yellow and 64.71% black.
#5a0142 color has a hue of 316.2 degrees, a saturation of 97.8% and a lightness of 17.8%.
#5a0142 hex color contains mainly RED.
The closest web safe color of #5a0142 is #660033
#5a0142 hex color has a decimal value of 5898562.
HEX | 5a0142 | #5a0142 |
---|---|---|
RGB | 90, 1, 66 | rgb(90, 1, 66) |
RGB Percent | 35.29, 0.39, 25.88 | rgb(35.29, 0.39, 25.88) |
CMYK | 0, 99, 27, 65 | |
HSL | 316.2°, 97.8, 17.8 | hsl(316.2, 97.8%, 17.8%) |
HSV | 316.2°, 98.9, 35.3 |
XYZ | 5.211, 2.589, 5.379 |
---|---|
Hunter Lab | 16.09, 29.651, -8.557 |
CIE-LAB | 18.316, 42.031, -14.219 |
CIE-LCH | 18.316, 44.371, 341.309 |
CIE-LUV | 0, 98.89, 26.67, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a0142
CMYK percent of color #5a0142
Text with hexadecimal color #5a0142
This text has a font color of #5a0142
<p style="color:#5a0142">Text here</p>
#5a0142 Background Color
This box has a background color of #5a0142
<div style="background-color:#5a0142">Text here</div>
#5a0142 Border Color
This box has a border color of #5a0142
<div style="border: 4px solid #5a0142">Text here</div>
CSS codes
<p style="color:#5a0142">Text here</p>
<div style="background-color:#5a0142">Text here</div>
<div style="border: 4px solid #5a0142">Text here</div>
#5a0142 Color on white background
This is how a font and box color of #5a0142 will look
on a white background.
#5a0142 Color on black background
This is how a font and box color of #5a0142 hex color will look
on a black background.