Hex color #2f1135, RGB(47, 17, 53) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f1135 is a shade of magenta. In a RGB color space it is composed of 18.43% red, 6.67% green and 20.78% blue. In HSL notation it has 290° hue, 51.4% saturation and 13.7% lightness. The process color (CMYK) is combination of 11.32% cyan, 67.92% magenta, 0% yellow and 79.22% key (black). The closest short hexadecimal code of #2f1135 is #213.
Example CSS code:
.setFontColor { color: #2f1135; }
.setBackgroundColor { background-color: #2f1135; }
How to set font color?
<p style="color:#2f1135">Font color is #2f1135.</p>
Font color is #2f1135.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#2f1135">Background color is #2f1135.</div>
Background color is #2f1135.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant