Hex color #9f56d7, RGB(159, 86, 215) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9f56d7 is a shade of blue-magenta. In a RGB color space it is composed of 62.35% red, 33.73% green and 84.31% blue. In HSL notation it has 274° hue, 61.7% saturation and 59% lightness. The process color (CMYK) is combination of 26.05% cyan, 60% magenta, 0% yellow and 15.69% key (black). The closest short hexadecimal code of #9f56d7 is #95d.
Example CSS code:
.setFontColor { color: #9f56d7; }
.setBackgroundColor { background-color: #9f56d7; }
How to set font color?
<p style="color:#9f56d7">Font color is #9f56d7.</p>
Font color is #9f56d7.
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:#9f56d7">Background color is #9f56d7.</div>
Background color is #9f56d7.
Compromise in colors is grey.
- Edi Rama