Hex color #6f2e6f, RGB(111, 46, 111) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6f2e6f is a shade of magenta. In a RGB color space it is composed of 43.53% red, 18.04% green and 43.53% blue. In HSL notation it has 300° hue, 41.4% saturation and 30.8% lightness. The process color (CMYK) is combination of 0% cyan, 58.56% magenta, 0% yellow and 56.47% key (black). The closest short hexadecimal code of #6f2e6f is #626.
Example CSS code:
.setFontColor { color: #6f2e6f; }
.setBackgroundColor { background-color: #6f2e6f; }
How to set font color?
<p style="color:#6f2e6f">Font color is #6f2e6f.</p>
Font color is #6f2e6f.
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:#6f2e6f">Background color is #6f2e6f.</div>
Background color is #6f2e6f.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage