Hex color #9f50f1, RGB(159, 80, 241) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9f50f1 is a shade of blue-magenta. In a RGB color space it is composed of 62.35% red, 31.37% green and 94.51% blue. In HSL notation it has 269.4° hue, 85.2% saturation and 62.9% lightness. The process color (CMYK) is combination of 34.02% cyan, 66.80% magenta, 0% yellow and 5.49% key (black). The closest short hexadecimal code of #9f50f1 is #95f.
Example CSS code:
.setFontColor { color: #9f50f1; }
.setBackgroundColor { background-color: #9f50f1; }
How to set font color?
<p style="color:#9f50f1">Font color is #9f50f1.</p>
Font color is #9f50f1.
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:#9f50f1">Background color is #9f50f1.</div>
Background color is #9f50f1.
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