In RGB color space, #5a0c21 hex color has a red value of 90, a green value of 12 and a blue value of 33.
In CMYK color space (used in color printing), #5a0c21 hex color is composed of 0% cyan, 86.67% magenta, 63.33% yellow and 64.71% black.
#5a0c21 color has a hue of 343.8 degrees, a saturation of 76.47% and a lightness of 20%.
#5a0c21 hex color contains mainly RED.
The closest web safe color of #5a0c21 is #660033
#5a0c21 hex color has a decimal value of 5901345.
HEX | 5a0c21 | #5a0c21 |
---|---|---|
RGB | 90, 12, 33 | rgb(90, 12, 33) |
RGB Percent | 35.29, 4.71, 12.94 | rgb(35.29, 4.71, 12.94) |
CMYK | 0, 87, 63, 65 | |
HSL | 343.8°, 76.47, 20 | hsl(343.8, 76.47%, 20%) |
HSV | 343.8°, 86.7, 35.3 |
XYZ | 4.622, 2.546, 1.687 |
---|---|
Hunter Lab | 15.956, 23.782, 4.901 |
CIE-LAB | 18.125, 35.41, 8.977 |
CIE-LCH | 18.125, 36.53, 14.226 |
CIE-LUV | 0, 86.67, 63.33, 64.71 |
Web Safe | 660033 |
RGB percent of color #5a0c21
CMYK percent of color #5a0c21
Text with hexadecimal color #5a0c21
This text has a font color of #5a0c21
<p style="color:#5a0c21">Text here</p>
#5a0c21 Background Color
This box has a background color of #5a0c21
<div style="background-color:#5a0c21">Text here</div>
#5a0c21 Border Color
This box has a border color of #5a0c21
<div style="border: 4px solid #5a0c21">Text here</div>
CSS codes
<p style="color:#5a0c21">Text here</p>
<div style="background-color:#5a0c21">Text here</div>
<div style="border: 4px solid #5a0c21">Text here</div>
#5a0c21 Color on white background
This is how a font and box color of #5a0c21 will look
on a white background.
#5a0c21 Color on black background
This is how a font and box color of #5a0c21 hex color will look
on a black background.