Hex color #d1a2ff, RGB(209, 162, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d1a2ff is a shade of blue-magenta. In a RGB color space it is composed of 81.96% red, 63.53% green and 100% blue. In HSL notation it has 270.3° hue, 100% saturation and 81.8% lightness. The process color (CMYK) is combination of 18.04% cyan, 36.47% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #d1a2ff is #daf.
Example CSS code:
.setFontColor { color: #d1a2ff; }
.setBackgroundColor { background-color: #d1a2ff; }
How to set font color?
<p style="color:#d1a2ff">Font color is #d1a2ff.</p>
Font color is #d1a2ff.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#d1a2ff">Background color is #d1a2ff.</div>
Background color is #d1a2ff.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage