Hex color #7b5d98, RGB(123, 93, 152) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7b5d98 is a shade of blue-magenta. In a RGB color space it is composed of 48.24% red, 36.47% green and 59.61% blue. In HSL notation it has 270.5° hue, 24.1% saturation and 48% lightness. The process color (CMYK) is combination of 19.08% cyan, 38.82% magenta, 0% yellow and 40.39% key (black). The closest short hexadecimal code of #7b5d98 is #759.
Example CSS code:
.setFontColor { color: #7b5d98; }
.setBackgroundColor { background-color: #7b5d98; }
How to set font color?
<p style="color:#7b5d98">Font color is #7b5d98.</p>
Font color is #7b5d98.
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:#7b5d98">Background color is #7b5d98.</div>
Background color is #7b5d98.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage