Hex color #b08fd1, RGB(176, 143, 209) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b08fd1 is a shade of blue-magenta. In a RGB color space it is composed of 69.02% red, 56.08% green and 81.96% blue. In HSL notation it has 270° hue, 41.8% saturation and 69% lightness. The process color (CMYK) is combination of 15.79% cyan, 31.58% magenta, 0% yellow and 18.04% key (black). The closest short hexadecimal code of #b08fd1 is #b8d.
Example CSS code:
.setFontColor { color: #b08fd1; }
.setBackgroundColor { background-color: #b08fd1; }
How to set font color?
<p style="color:#b08fd1">Font color is #b08fd1.</p>
Font color is #b08fd1.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#b08fd1">Background color is #b08fd1.</div>
Background color is #b08fd1.
Compromise in colors is grey.
- Edi Rama