Hex color #aa46de, RGB(170, 70, 222) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #aa46de is a shade of blue-magenta. In a RGB color space it is composed of 66.67% red, 27.45% green and 87.06% blue. In HSL notation it has 279.5° hue, 69.7% saturation and 57.3% lightness. The process color (CMYK) is combination of 23.42% cyan, 68.47% magenta, 0% yellow and 12.94% key (black). The closest short hexadecimal code of #aa46de is #a4d.
Example CSS code:
.setFontColor { color: #aa46de; }
.setBackgroundColor { background-color: #aa46de; }
How to set font color?
<p style="color:#aa46de">Font color is #aa46de.</p>
Font color is #aa46de.
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:#aa46de">Background color is #aa46de.</div>
Background color is #aa46de.
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