Hex color #9c7ff5, RGB(156, 127, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9c7ff5 is a shade of blue. In a RGB color space it is composed of 61.18% red, 49.8% green and 96.08% blue. In HSL notation it has 254.7° hue, 85.5% saturation and 72.9% lightness. The process color (CMYK) is combination of 36.33% cyan, 48.16% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #9c7ff5 is #97f.
Example CSS code:
.setFontColor { color: #9c7ff5; }
.setBackgroundColor { background-color: #9c7ff5; }
How to set font color?
<p style="color:#9c7ff5">Font color is #9c7ff5.</p>
Font color is #9c7ff5.
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
How to set background color?
<div style="background-color:#9c7ff5">Background color is #9c7ff5.</div>
Background color is #9c7ff5.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage