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