Hex color #ecb3ff, RGB(236, 179, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ecb3ff is a shade of magenta. In a RGB color space it is composed of 92.55% red, 70.2% green and 100% blue. In HSL notation it has 285° hue, 100% saturation and 85.1% lightness. The process color (CMYK) is combination of 7.45% cyan, 29.80% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #ecb3ff is #ebf.
Example CSS code:
.setFontColor { color: #ecb3ff; }
.setBackgroundColor { background-color: #ecb3ff; }
How to set font color?
<p style="color:#ecb3ff">Font color is #ecb3ff.</p>
Font color is #ecb3ff.
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:#ecb3ff">Background color is #ecb3ff.</div>
Background color is #ecb3ff.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage