Hex color #4f2e6f, RGB(79, 46, 111) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4f2e6f is a shade of blue-magenta. In a RGB color space it is composed of 30.98% red, 18.04% green and 43.53% blue. In HSL notation it has 270.5° hue, 41.4% saturation and 30.8% lightness. The process color (CMYK) is combination of 28.83% cyan, 58.56% magenta, 0% yellow and 56.47% key (black). The closest short hexadecimal code of #4f2e6f is #426.
Example CSS code:
.setFontColor { color: #4f2e6f; }
.setBackgroundColor { background-color: #4f2e6f; }
How to set font color?
<p style="color:#4f2e6f">Font color is #4f2e6f.</p>
Font color is #4f2e6f.
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
How to set background color?
<div style="background-color:#4f2e6f">Background color is #4f2e6f.</div>
Background color is #4f2e6f.
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