Hex color #d771d7, RGB(215, 113, 215) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d771d7 is a shade of magenta. In a RGB color space it is composed of 84.31% red, 44.31% green and 84.31% blue. In HSL notation it has 300° hue, 56% saturation and 64.3% lightness. The process color (CMYK) is combination of 0% cyan, 47.44% magenta, 0% yellow and 15.69% key (black). The closest short hexadecimal code of #d771d7 is #d7d.
Example CSS code:
.setFontColor { color: #d771d7; }
.setBackgroundColor { background-color: #d771d7; }
How to set font color?
<p style="color:#d771d7">Font color is #d771d7.</p>
Font color is #d771d7.
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:#d771d7">Background color is #d771d7.</div>
Background color is #d771d7.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage