Hex color #b8a3f2, RGB(184, 163, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b8a3f2 is a shade of blue-magenta. In a RGB color space it is composed of 72.16% red, 63.92% green and 94.9% blue. In HSL notation it has 255.9° hue, 75.2% saturation and 79.4% lightness. The process color (CMYK) is combination of 23.97% cyan, 32.64% magenta, 0% yellow and 5.10% key (black). The closest short hexadecimal code of #b8a3f2 is #baf.
Example CSS code:
.setFontColor { color: #b8a3f2; }
.setBackgroundColor { background-color: #b8a3f2; }
How to set font color?
<p style="color:#b8a3f2">Font color is #b8a3f2.</p>
Font color is #b8a3f2.
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:#b8a3f2">Background color is #b8a3f2.</div>
Background color is #b8a3f2.
Compromise in colors is grey.
- Edi Rama