Hex color #9f52f0, RGB(159, 82, 240) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9f52f0 is a shade of blue-magenta. In a RGB color space it is composed of 62.35% red, 32.16% green and 94.12% blue. In HSL notation it has 269.2° hue, 84% saturation and 63.1% lightness. The process color (CMYK) is combination of 33.75% cyan, 65.83% magenta, 0% yellow and 5.88% key (black). The closest short hexadecimal code of #9f52f0 is #95f.
Example CSS code:
.setFontColor { color: #9f52f0; }
.setBackgroundColor { background-color: #9f52f0; }
How to set font color?
<p style="color:#9f52f0">Font color is #9f52f0.</p>
Font color is #9f52f0.
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:#9f52f0">Background color is #9f52f0.</div>
Background color is #9f52f0.
Compromise in colors is grey.
- Edi Rama