Hex color #a20051, RGB(162, 0, 81) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a20051 is a shade of red-magenta. In a RGB color space it is composed of 63.53% red, 0% green and 31.76% blue. In HSL notation it has 330° hue, 100% saturation and 31.8% lightness. The process color (CMYK) is combination of 0% cyan, 100% magenta, 50% yellow and 36.47% key (black). The closest short hexadecimal code of #a20051 is #a05.
Example CSS code:
.setFontColor { color: #a20051; }
.setBackgroundColor { background-color: #a20051; }
How to set font color?
<p style="color:#a20051">Font color is #a20051.</p>
Font color is #a20051.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#a20051">Background color is #a20051.</div>
Background color is #a20051.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage