Hex color #ba8ada, RGB(186, 138, 218) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ba8ada is a shade of blue-magenta. In a RGB color space it is composed of 72.94% red, 54.12% green and 85.49% blue. In HSL notation it has 276° hue, 51.9% saturation and 69.8% lightness. The process color (CMYK) is combination of 14.68% cyan, 36.70% magenta, 0% yellow and 14.51% key (black). The closest short hexadecimal code of #ba8ada is #b8d.
Example CSS code:
.setFontColor { color: #ba8ada; }
.setBackgroundColor { background-color: #ba8ada; }
How to set font color?
<p style="color:#ba8ada">Font color is #ba8ada.</p>
Font color is #ba8ada.
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:#ba8ada">Background color is #ba8ada.</div>
Background color is #ba8ada.
Compromise in colors is grey.
- Edi Rama