Hex color #da70d6, RGB(218, 112, 214) - also known as orchid - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #da70d6 is a shade of magenta. In a RGB color space it is composed of 85.49% red, 43.92% green and 83.92% blue. In HSL notation it has 302.3° hue, 58.9% saturation and 64.7% lightness. The process color (CMYK) is combination of 0% cyan, 48.62% magenta, 1.83% yellow and 14.51% key (black). The closest short hexadecimal code of #da70d6 is #d7d.
Example CSS code:
.setFontColor { color: #da70d6; }
.setBackgroundColor { background-color: #da70d6; }
How to set font color?
<p style="color:#da70d6">Font color is #da70d6.</p>
Font color is #da70d6.
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:#da70d6">Background color is #da70d6.</div>
Background color is #da70d6.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage