Hex color #9a73bf, RGB(154, 115, 191) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9a73bf is a shade of blue-magenta. In a RGB color space it is composed of 60.39% red, 45.1% green and 74.9% blue. In HSL notation it has 270.8° hue, 37.3% saturation and 60% lightness. The process color (CMYK) is combination of 19.37% cyan, 39.79% magenta, 0% yellow and 25.10% key (black). The closest short hexadecimal code of #9a73bf is #97b.
Example CSS code:
.setFontColor { color: #9a73bf; }
.setBackgroundColor { background-color: #9a73bf; }
How to set font color?
<p style="color:#9a73bf">Font color is #9a73bf.</p>
Font color is #9a73bf.
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:#9a73bf">Background color is #9a73bf.</div>
Background color is #9a73bf.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage