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