Hex color #7878f2, RGB(120, 120, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7878f2 is a shade of blue. In a RGB color space it is composed of 47.06% red, 47.06% green and 94.9% blue. In HSL notation it has 240° hue, 82.4% saturation and 71% lightness. The process color (CMYK) is combination of 50.41% cyan, 50.41% magenta, 0% yellow and 5.10% key (black). The closest short hexadecimal code of #7878f2 is #77f.
Example CSS code:
.setFontColor { color: #7878f2; }
.setBackgroundColor { background-color: #7878f2; }
How to set font color?
<p style="color:#7878f2">Font color is #7878f2.</p>
Font color is #7878f2.
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:#7878f2">Background color is #7878f2.</div>
Background color is #7878f2.
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