Hex color #d21adc, RGB(210, 26, 220) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d21adc is a shade of magenta. In a RGB color space it is composed of 82.35% red, 10.2% green and 86.27% blue. In HSL notation it has 296.9° hue, 78.9% saturation and 48.2% lightness. The process color (CMYK) is combination of 4.55% cyan, 88.18% magenta, 0% yellow and 13.73% key (black). The closest short hexadecimal code of #d21adc is #d1d.
Example CSS code:
.setFontColor { color: #d21adc; }
.setBackgroundColor { background-color: #d21adc; }
How to set font color?
<p style="color:#d21adc">Font color is #d21adc.</p>
Font color is #d21adc.
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
How to set background color?
<div style="background-color:#d21adc">Background color is #d21adc.</div>
Background color is #d21adc.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage