Hex color #9f76ac, RGB(159, 118, 172) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9f76ac is a shade of magenta. In a RGB color space it is composed of 62.35% red, 46.27% green and 67.45% blue. In HSL notation it has 285.6° hue, 24.5% saturation and 56.9% lightness. The process color (CMYK) is combination of 7.56% cyan, 31.40% magenta, 0% yellow and 32.55% key (black). The closest short hexadecimal code of #9f76ac is #97a.
Example CSS code:
.setFontColor { color: #9f76ac; }
.setBackgroundColor { background-color: #9f76ac; }
How to set font color?
<p style="color:#9f76ac">Font color is #9f76ac.</p>
Font color is #9f76ac.
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:#9f76ac">Background color is #9f76ac.</div>
Background color is #9f76ac.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage