Hex color #9f5bcc, RGB(159, 91, 204) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9f5bcc is a shade of blue-magenta. In a RGB color space it is composed of 62.35% red, 35.69% green and 80% blue. In HSL notation it has 276.1° hue, 52.6% saturation and 57.8% lightness. The process color (CMYK) is combination of 22.06% cyan, 55.39% magenta, 0% yellow and 20% key (black). The closest short hexadecimal code of #9f5bcc is #95c.
Example CSS code:
.setFontColor { color: #9f5bcc; }
.setBackgroundColor { background-color: #9f5bcc; }
How to set font color?
<p style="color:#9f5bcc">Font color is #9f5bcc.</p>
Font color is #9f5bcc.
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:#9f5bcc">Background color is #9f5bcc.</div>
Background color is #9f5bcc.
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