Hex color #7986ef, RGB(121, 134, 239) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7986ef is a shade of blue. In a RGB color space it is composed of 47.45% red, 52.55% green and 93.73% blue. In HSL notation it has 233.4° hue, 78.7% saturation and 70.6% lightness. The process color (CMYK) is combination of 49.37% cyan, 43.93% magenta, 0% yellow and 6.27% key (black). The closest short hexadecimal code of #7986ef is #78e.
Example CSS code:
.setFontColor { color: #7986ef; }
.setBackgroundColor { background-color: #7986ef; }
How to set font color?
<p style="color:#7986ef">Font color is #7986ef.</p>
Font color is #7986ef.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#7986ef">Background color is #7986ef.</div>
Background color is #7986ef.
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