Hex color #7834a4, RGB(120, 52, 164) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7834a4 is a shade of blue-magenta. In a RGB color space it is composed of 47.06% red, 20.39% green and 64.31% blue. In HSL notation it has 276.4° hue, 51.9% saturation and 42.4% lightness. The process color (CMYK) is combination of 26.83% cyan, 68.29% magenta, 0% yellow and 35.69% key (black). The closest short hexadecimal code of #7834a4 is #73a.
Example CSS code:
.setFontColor { color: #7834a4; }
.setBackgroundColor { background-color: #7834a4; }
How to set font color?
<p style="color:#7834a4">Font color is #7834a4.</p>
Font color is #7834a4.
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:#7834a4">Background color is #7834a4.</div>
Background color is #7834a4.
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