Hex color #8b2a7d, RGB(139, 42, 125) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8b2a7d is a shade of magenta. In a RGB color space it is composed of 54.51% red, 16.47% green and 49.02% blue. In HSL notation it has 308.7° hue, 53.6% saturation and 35.5% lightness. The process color (CMYK) is combination of 0% cyan, 69.78% magenta, 10.07% yellow and 45.49% key (black). The closest short hexadecimal code of #8b2a7d is #827.
Example CSS code:
.setFontColor { color: #8b2a7d; }
.setBackgroundColor { background-color: #8b2a7d; }
How to set font color?
<p style="color:#8b2a7d">Font color is #8b2a7d.</p>
Font color is #8b2a7d.
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
How to set background color?
<div style="background-color:#8b2a7d">Background color is #8b2a7d.</div>
Background color is #8b2a7d.
Compromise in colors is grey.
- Edi Rama