Hex color #844f9e, RGB(132, 79, 158) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #844f9e is a shade of blue-magenta. In a RGB color space it is composed of 51.76% red, 30.98% green and 61.96% blue. In HSL notation it has 280.3° hue, 33.3% saturation and 46.5% lightness. The process color (CMYK) is combination of 16.46% cyan, 50% magenta, 0% yellow and 38.04% key (black). The closest short hexadecimal code of #844f9e is #849.
Example CSS code:
.setFontColor { color: #844f9e; }
.setBackgroundColor { background-color: #844f9e; }
How to set font color?
<p style="color:#844f9e">Font color is #844f9e.</p>
Font color is #844f9e.
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:#844f9e">Background color is #844f9e.</div>
Background color is #844f9e.
Compromise in colors is grey.
- Edi Rama