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