Hex color #9176ac, RGB(145, 118, 172) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9176ac is a shade of blue-magenta. In a RGB color space it is composed of 56.86% red, 46.27% green and 67.45% blue. In HSL notation it has 270° hue, 24.5% saturation and 56.9% lightness. The process color (CMYK) is combination of 15.70% cyan, 31.40% magenta, 0% yellow and 32.55% key (black). The closest short hexadecimal code of #9176ac is #97a.
Example CSS code:
.setFontColor { color: #9176ac; }
.setBackgroundColor { background-color: #9176ac; }
How to set font color?
<p style="color:#9176ac">Font color is #9176ac.</p>
Font color is #9176ac.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#9176ac">Background color is #9176ac.</div>
Background color is #9176ac.
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