Hex color #7956a7, RGB(121, 86, 167) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7956a7 is a shade of blue-magenta. In a RGB color space it is composed of 47.45% red, 33.73% green and 65.49% blue. In HSL notation it has 265.9° hue, 32% saturation and 49.6% lightness. The process color (CMYK) is combination of 27.54% cyan, 48.50% magenta, 0% yellow and 34.51% key (black). The closest short hexadecimal code of #7956a7 is #75a.
Example CSS code:
.setFontColor { color: #7956a7; }
.setBackgroundColor { background-color: #7956a7; }
How to set font color?
<p style="color:#7956a7">Font color is #7956a7.</p>
Font color is #7956a7.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#7956a7">Background color is #7956a7.</div>
Background color is #7956a7.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage