Hex color #5a1931, RGB(90, 25, 49) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5a1931 is a shade of red-magenta. In a RGB color space it is composed of 35.29% red, 9.8% green and 19.22% blue. In HSL notation it has 337.8° hue, 56.5% saturation and 22.5% lightness. The process color (CMYK) is combination of 0% cyan, 72.22% magenta, 45.56% yellow and 64.71% key (black). The closest short hexadecimal code of #5a1931 is #513.
Example CSS code:
.setFontColor { color: #5a1931; }
.setBackgroundColor { background-color: #5a1931; }
How to set font color?
<p style="color:#5a1931">Font color is #5a1931.</p>
Font color is #5a1931.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#5a1931">Background color is #5a1931.</div>
Background color is #5a1931.
Compromise in colors is grey.
- Edi Rama