Hex color #ba7ff5, RGB(186, 127, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ba7ff5 is a shade of blue-magenta. In a RGB color space it is composed of 72.94% red, 49.8% green and 96.08% blue. In HSL notation it has 270° hue, 85.5% saturation and 72.9% lightness. The process color (CMYK) is combination of 24.08% cyan, 48.16% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #ba7ff5 is #b7f.
Example CSS code:
.setFontColor { color: #ba7ff5; }
.setBackgroundColor { background-color: #ba7ff5; }
How to set font color?
<p style="color:#ba7ff5">Font color is #ba7ff5.</p>
Font color is #ba7ff5.
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:#ba7ff5">Background color is #ba7ff5.</div>
Background color is #ba7ff5.
Compromise in colors is grey.
- Edi Rama