Hex color #8912b2, RGB(137, 18, 178) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8912b2 is a shade of blue-magenta. In a RGB color space it is composed of 53.73% red, 7.06% green and 69.8% blue. In HSL notation it has 284.6° hue, 81.6% saturation and 38.4% lightness. The process color (CMYK) is combination of 23.03% cyan, 89.89% magenta, 0% yellow and 30.20% key (black). The closest short hexadecimal code of #8912b2 is #81b.
Example CSS code:
.setFontColor { color: #8912b2; }
.setBackgroundColor { background-color: #8912b2; }
How to set font color?
<p style="color:#8912b2">Font color is #8912b2.</p>
Font color is #8912b2.
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:#8912b2">Background color is #8912b2.</div>
Background color is #8912b2.
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