Hex color #8b0f7a, RGB(139, 15, 122) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8b0f7a is a shade of magenta. In a RGB color space it is composed of 54.51% red, 5.88% green and 47.84% blue. In HSL notation it has 308.2° hue, 80.5% saturation and 30.2% lightness. The process color (CMYK) is combination of 0% cyan, 89.21% magenta, 12.23% yellow and 45.49% key (black). The closest short hexadecimal code of #8b0f7a is #807.
Example CSS code:
.setFontColor { color: #8b0f7a; }
.setBackgroundColor { background-color: #8b0f7a; }
How to set font color?
<p style="color:#8b0f7a">Font color is #8b0f7a.</p>
Font color is #8b0f7a.
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:#8b0f7a">Background color is #8b0f7a.</div>
Background color is #8b0f7a.
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