Hex color #bd86f5, RGB(189, 134, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #bd86f5 is a shade of blue-magenta. In a RGB color space it is composed of 74.12% red, 52.55% green and 96.08% blue. In HSL notation it has 269.7° hue, 84.7% saturation and 74.3% lightness. The process color (CMYK) is combination of 22.86% cyan, 45.31% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #bd86f5 is #b8f.
Example CSS code:
.setFontColor { color: #bd86f5; }
.setBackgroundColor { background-color: #bd86f5; }
How to set font color?
<p style="color:#bd86f5">Font color is #bd86f5.</p>
Font color is #bd86f5.
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:#bd86f5">Background color is #bd86f5.</div>
Background color is #bd86f5.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage