Hex color #8c6a8d, RGB(140, 106, 141) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8c6a8d is a shade of magenta. In a RGB color space it is composed of 54.9% red, 41.57% green and 55.29% blue. In HSL notation it has 298.3° hue, 14.2% saturation and 48.4% lightness. The process color (CMYK) is combination of 0.71% cyan, 24.82% magenta, 0% yellow and 44.71% key (black). The closest short hexadecimal code of #8c6a8d is #868.
Example CSS code:
.setFontColor { color: #8c6a8d; }
.setBackgroundColor { background-color: #8c6a8d; }
How to set font color?
<p style="color:#8c6a8d">Font color is #8c6a8d.</p>
Font color is #8c6a8d.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#8c6a8d">Background color is #8c6a8d.</div>
Background color is #8c6a8d.
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