Hex color #40213c, RGB(64, 33, 60) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #40213c is a shade of magenta. In a RGB color space it is composed of 25.1% red, 12.94% green and 23.53% blue. In HSL notation it has 307.7° hue, 32% saturation and 19% lightness. The process color (CMYK) is combination of 0% cyan, 48.44% magenta, 6.25% yellow and 74.90% key (black). The closest short hexadecimal code of #40213c is #423.
Example CSS code:
.setFontColor { color: #40213c; }
.setBackgroundColor { background-color: #40213c; }
How to set font color?
<p style="color:#40213c">Font color is #40213c.</p>
Font color is #40213c.
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:#40213c">Background color is #40213c.</div>
Background color is #40213c.
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