Hex color #ba5bc9, RGB(186, 91, 201) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ba5bc9 is a shade of magenta. In a RGB color space it is composed of 72.94% red, 35.69% green and 78.82% blue. In HSL notation it has 291.8° hue, 50.5% saturation and 57.3% lightness. The process color (CMYK) is combination of 7.46% cyan, 54.73% magenta, 0% yellow and 21.18% key (black). The closest short hexadecimal code of #ba5bc9 is #b5c.
Example CSS code:
.setFontColor { color: #ba5bc9; }
.setBackgroundColor { background-color: #ba5bc9; }
How to set font color?
<p style="color:#ba5bc9">Font color is #ba5bc9.</p>
Font color is #ba5bc9.
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:#ba5bc9">Background color is #ba5bc9.</div>
Background color is #ba5bc9.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant