Hex color #9951b0, RGB(153, 81, 176) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9951b0 is a shade of magenta. In a RGB color space it is composed of 60% red, 31.76% green and 69.02% blue. In HSL notation it has 285.5° hue, 37.5% saturation and 50.4% lightness. The process color (CMYK) is combination of 13.07% cyan, 53.98% magenta, 0% yellow and 30.98% key (black). The closest short hexadecimal code of #9951b0 is #95b.
Example CSS code:
.setFontColor { color: #9951b0; }
.setBackgroundColor { background-color: #9951b0; }
How to set font color?
<p style="color:#9951b0">Font color is #9951b0.</p>
Font color is #9951b0.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#9951b0">Background color is #9951b0.</div>
Background color is #9951b0.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage