Hex color #a2a6cf, RGB(162, 166, 207) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a2a6cf is a shade of blue. In a RGB color space it is composed of 63.53% red, 65.1% green and 81.18% blue. In HSL notation it has 234.7° hue, 31.9% saturation and 72.4% lightness. The process color (CMYK) is combination of 21.74% cyan, 19.81% magenta, 0% yellow and 18.82% key (black). The closest short hexadecimal code of #a2a6cf is #aac.
Example CSS code:
.setFontColor { color: #a2a6cf; }
.setBackgroundColor { background-color: #a2a6cf; }
How to set font color?
<p style="color:#a2a6cf">Font color is #a2a6cf.</p>
Font color is #a2a6cf.
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:#a2a6cf">Background color is #a2a6cf.</div>
Background color is #a2a6cf.
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