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