Hex color #aa97bd, RGB(170, 151, 189) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #aa97bd is a shade of blue-magenta. In a RGB color space it is composed of 66.67% red, 59.22% green and 74.12% blue. In HSL notation it has 270° hue, 22.4% saturation and 66.7% lightness. The process color (CMYK) is combination of 10.05% cyan, 20.11% magenta, 0% yellow and 25.88% key (black). The closest short hexadecimal code of #aa97bd is #a9b.
Example CSS code:
.setFontColor { color: #aa97bd; }
.setBackgroundColor { background-color: #aa97bd; }
How to set font color?
<p style="color:#aa97bd">Font color is #aa97bd.</p>
Font color is #aa97bd.
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:#aa97bd">Background color is #aa97bd.</div>
Background color is #aa97bd.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage