Hex color #9e59ca, RGB(158, 89, 202) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9e59ca is a shade of blue-magenta. In a RGB color space it is composed of 61.96% red, 34.9% green and 79.22% blue. In HSL notation it has 276.6° hue, 51.6% saturation and 57.1% lightness. The process color (CMYK) is combination of 21.78% cyan, 55.94% magenta, 0% yellow and 20.78% key (black). The closest short hexadecimal code of #9e59ca is #95c.
Example CSS code:
.setFontColor { color: #9e59ca; }
.setBackgroundColor { background-color: #9e59ca; }
How to set font color?
<p style="color:#9e59ca">Font color is #9e59ca.</p>
Font color is #9e59ca.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#9e59ca">Background color is #9e59ca.</div>
Background color is #9e59ca.
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