Hex color #d0a0ff, RGB(208, 160, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d0a0ff is a shade of blue-magenta. In a RGB color space it is composed of 81.57% red, 62.75% green and 100% blue. In HSL notation it has 270.3° hue, 100% saturation and 81.4% lightness. The process color (CMYK) is combination of 18.43% cyan, 37.25% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #d0a0ff is #daf.
Example CSS code:
.setFontColor { color: #d0a0ff; }
.setBackgroundColor { background-color: #d0a0ff; }
How to set font color?
<p style="color:#d0a0ff">Font color is #d0a0ff.</p>
Font color is #d0a0ff.
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:#d0a0ff">Background color is #d0a0ff.</div>
Background color is #d0a0ff.
Compromise in colors is grey.
- Edi Rama