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