Hex color #a2a2f8, RGB(162, 162, 248) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a2a2f8 is a shade of blue. In a RGB color space it is composed of 63.53% red, 63.53% green and 97.25% blue. In HSL notation it has 240° hue, 86% saturation and 80.4% lightness. The process color (CMYK) is combination of 34.68% cyan, 34.68% magenta, 0% yellow and 2.75% key (black). The closest short hexadecimal code of #a2a2f8 is #aaf.
Example CSS code:
.setFontColor { color: #a2a2f8; }
.setBackgroundColor { background-color: #a2a2f8; }
How to set font color?
<p style="color:#a2a2f8">Font color is #a2a2f8.</p>
Font color is #a2a2f8.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#a2a2f8">Background color is #a2a2f8.</div>
Background color is #a2a2f8.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage