Hex color #5a1c44, RGB(90, 28, 68) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5a1c44 is a shade of red-magenta. In a RGB color space it is composed of 35.29% red, 10.98% green and 26.67% blue. In HSL notation it has 321.3° hue, 52.5% saturation and 23.1% lightness. The process color (CMYK) is combination of 0% cyan, 68.89% magenta, 24.44% yellow and 64.71% key (black). The closest short hexadecimal code of #5a1c44 is #514.
Example CSS code:
.setFontColor { color: #5a1c44; }
.setBackgroundColor { background-color: #5a1c44; }
How to set font color?
<p style="color:#5a1c44">Font color is #5a1c44.</p>
Font color is #5a1c44.
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:#5a1c44">Background color is #5a1c44.</div>
Background color is #5a1c44.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant