Hex color #d770c8, RGB(215, 112, 200) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d770c8 is a shade of magenta. In a RGB color space it is composed of 84.31% red, 43.92% green and 78.43% blue. In HSL notation it has 308.7° hue, 56.3% saturation and 64.1% lightness. The process color (CMYK) is combination of 0% cyan, 47.91% magenta, 6.98% yellow and 15.69% key (black). The closest short hexadecimal code of #d770c8 is #d7c.
Example CSS code:
.setFontColor { color: #d770c8; }
.setBackgroundColor { background-color: #d770c8; }
How to set font color?
<p style="color:#d770c8">Font color is #d770c8.</p>
Font color is #d770c8.
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:#d770c8">Background color is #d770c8.</div>
Background color is #d770c8.
Compromise in colors is grey.
- Edi Rama