Hex color #a6a8f8, RGB(166, 168, 248) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a6a8f8 is a shade of blue. In a RGB color space it is composed of 65.1% red, 65.88% green and 97.25% blue. In HSL notation it has 238.5° hue, 85.4% saturation and 81.2% lightness. The process color (CMYK) is combination of 33.06% cyan, 32.26% magenta, 0% yellow and 2.75% key (black). The closest short hexadecimal code of #a6a8f8 is #aaf.
Example CSS code:
.setFontColor { color: #a6a8f8; }
.setBackgroundColor { background-color: #a6a8f8; }
How to set font color?
<p style="color:#a6a8f8">Font color is #a6a8f8.</p>
Font color is #a6a8f8.
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
How to set background color?
<div style="background-color:#a6a8f8">Background color is #a6a8f8.</div>
Background color is #a6a8f8.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage