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