Hex color #5e2f5e, RGB(94, 47, 94) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5e2f5e is a shade of magenta. In a RGB color space it is composed of 36.86% red, 18.43% green and 36.86% blue. In HSL notation it has 300° hue, 33.3% saturation and 27.6% lightness. The process color (CMYK) is combination of 0% cyan, 50% magenta, 0% yellow and 63.14% key (black). The closest short hexadecimal code of #5e2f5e is #525.
Example CSS code:
.setFontColor { color: #5e2f5e; }
.setBackgroundColor { background-color: #5e2f5e; }
How to set font color?
<p style="color:#5e2f5e">Font color is #5e2f5e.</p>
Font color is #5e2f5e.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#5e2f5e">Background color is #5e2f5e.</div>
Background color is #5e2f5e.
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