Hex color #9525d1, RGB(149, 37, 209) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9525d1 is a shade of blue-magenta. In a RGB color space it is composed of 58.43% red, 14.51% green and 81.96% blue. In HSL notation it has 279.1° hue, 69.9% saturation and 48.2% lightness. The process color (CMYK) is combination of 28.71% cyan, 82.30% magenta, 0% yellow and 18.04% key (black). The closest short hexadecimal code of #9525d1 is #92d.
Example CSS code:
.setFontColor { color: #9525d1; }
.setBackgroundColor { background-color: #9525d1; }
How to set font color?
<p style="color:#9525d1">Font color is #9525d1.</p>
Font color is #9525d1.
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:#9525d1">Background color is #9525d1.</div>
Background color is #9525d1.
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