Hex color #e8a2ff, RGB(232, 162, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #e8a2ff is a shade of magenta. In a RGB color space it is composed of 90.98% red, 63.53% green and 100% blue. In HSL notation it has 285.2° hue, 100% saturation and 81.8% lightness. The process color (CMYK) is combination of 9.02% cyan, 36.47% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #e8a2ff is #eaf.
Example CSS code:
.setFontColor { color: #e8a2ff; }
.setBackgroundColor { background-color: #e8a2ff; }
How to set font color?
<p style="color:#e8a2ff">Font color is #e8a2ff.</p>
Font color is #e8a2ff.
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:#e8a2ff">Background color is #e8a2ff.</div>
Background color is #e8a2ff.
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