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