Hex color #7f2242, RGB(127, 34, 66) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7f2242 is a shade of red-magenta. In a RGB color space it is composed of 49.8% red, 13.33% green and 25.88% blue. In HSL notation it has 339.4° hue, 57.8% saturation and 31.6% lightness. The process color (CMYK) is combination of 0% cyan, 73.23% magenta, 48.03% yellow and 50.20% key (black). The closest short hexadecimal code of #7f2242 is #724.
Example CSS code:
.setFontColor { color: #7f2242; }
.setBackgroundColor { background-color: #7f2242; }
How to set font color?
<p style="color:#7f2242">Font color is #7f2242.</p>
Font color is #7f2242.
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:#7f2242">Background color is #7f2242.</div>
Background color is #7f2242.
Compromise in colors is grey.
- Edi Rama