Hex color #4211a5, RGB(66, 17, 165) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4211a5 is a shade of blue-magenta. In a RGB color space it is composed of 25.88% red, 6.67% green and 64.71% blue. In HSL notation it has 259.9° hue, 81.3% saturation and 35.7% lightness. The process color (CMYK) is combination of 60% cyan, 89.70% magenta, 0% yellow and 35.29% key (black). The closest short hexadecimal code of #4211a5 is #41a.
Example CSS code:
.setFontColor { color: #4211a5; }
.setBackgroundColor { background-color: #4211a5; }
How to set font color?
<p style="color:#4211a5">Font color is #4211a5.</p>
Font color is #4211a5.
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:#4211a5">Background color is #4211a5.</div>
Background color is #4211a5.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage