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