Hex color #2e0529, RGB(46, 5, 41) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2e0529 is a shade of magenta. In a RGB color space it is composed of 18.04% red, 1.96% green and 16.08% blue. In HSL notation it has 307.3° hue, 80.4% saturation and 10% lightness. The process color (CMYK) is combination of 0% cyan, 89.13% magenta, 10.87% yellow and 81.96% key (black). The closest short hexadecimal code of #2e0529 is #202.
Example CSS code:
.setFontColor { color: #2e0529; }
.setBackgroundColor { background-color: #2e0529; }
How to set font color?
<p style="color:#2e0529">Font color is #2e0529.</p>
Font color is #2e0529.
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:#2e0529">Background color is #2e0529.</div>
Background color is #2e0529.
Compromise in colors is grey.
- Edi Rama