Hex color #8b319c, RGB(139, 49, 156) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8b319c is a shade of magenta. In a RGB color space it is composed of 54.51% red, 19.22% green and 61.18% blue. In HSL notation it has 290.5° hue, 52.2% saturation and 40.2% lightness. The process color (CMYK) is combination of 10.90% cyan, 68.59% magenta, 0% yellow and 38.82% key (black). The closest short hexadecimal code of #8b319c is #839.
Example CSS code:
.setFontColor { color: #8b319c; }
.setBackgroundColor { background-color: #8b319c; }
How to set font color?
<p style="color:#8b319c">Font color is #8b319c.</p>
Font color is #8b319c.
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:#8b319c">Background color is #8b319c.</div>
Background color is #8b319c.
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