Hex color #8d578d, RGB(141, 87, 141) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8d578d is a shade of magenta. In a RGB color space it is composed of 55.29% red, 34.12% green and 55.29% blue. In HSL notation it has 300° hue, 23.7% saturation and 44.7% lightness. The process color (CMYK) is combination of 0% cyan, 38.30% magenta, 0% yellow and 44.71% key (black). The closest short hexadecimal code of #8d578d is #858.
Example CSS code:
.setFontColor { color: #8d578d; }
.setBackgroundColor { background-color: #8d578d; }
How to set font color?
<p style="color:#8d578d">Font color is #8d578d.</p>
Font color is #8d578d.
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:#8d578d">Background color is #8d578d.</div>
Background color is #8d578d.
Compromise in colors is grey.
- Edi Rama