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