Hex color #d157bc, RGB(209, 87, 188) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d157bc is a shade of magenta. In a RGB color space it is composed of 81.96% red, 34.12% green and 73.73% blue. In HSL notation it has 310.3° hue, 57% saturation and 58% lightness. The process color (CMYK) is combination of 0% cyan, 58.37% magenta, 10.05% yellow and 18.04% key (black). The closest short hexadecimal code of #d157bc is #d5b.
Example CSS code:
.setFontColor { color: #d157bc; }
.setBackgroundColor { background-color: #d157bc; }
How to set font color?
<p style="color:#d157bc">Font color is #d157bc.</p>
Font color is #d157bc.
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:#d157bc">Background color is #d157bc.</div>
Background color is #d157bc.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant