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