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