Hex color #d876a0, RGB(216, 118, 160) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d876a0 is a shade of red-magenta. In a RGB color space it is composed of 84.71% red, 46.27% green and 62.75% blue. In HSL notation it has 334.3° hue, 55.7% saturation and 65.5% lightness. The process color (CMYK) is combination of 0% cyan, 45.37% magenta, 25.93% yellow and 15.29% key (black). The closest short hexadecimal code of #d876a0 is #d7a.
Example CSS code:
.setFontColor { color: #d876a0; }
.setBackgroundColor { background-color: #d876a0; }
How to set font color?
<p style="color:#d876a0">Font color is #d876a0.</p>
Font color is #d876a0.
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:#d876a0">Background color is #d876a0.</div>
Background color is #d876a0.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage