Hex color #2f0126, RGB(47, 1, 38) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f0126 is a shade of magenta. In a RGB color space it is composed of 18.43% red, 0.39% green and 14.9% blue. In HSL notation it has 311.7° hue, 95.8% saturation and 9.4% lightness. The process color (CMYK) is combination of 0% cyan, 97.87% magenta, 19.15% yellow and 81.57% key (black). The closest short hexadecimal code of #2f0126 is #202.
Example CSS code:
.setFontColor { color: #2f0126; }
.setBackgroundColor { background-color: #2f0126; }
How to set font color?
<p style="color:#2f0126">Font color is #2f0126.</p>
Font color is #2f0126.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2f0126">Background color is #2f0126.</div>
Background color is #2f0126.
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