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