Hex color #401222, RGB(64, 18, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #401222 is a shade of red-magenta. In a RGB color space it is composed of 25.1% red, 7.06% green and 13.33% blue. In HSL notation it has 339.1° hue, 56.1% saturation and 16.1% lightness. The process color (CMYK) is combination of 0% cyan, 71.88% magenta, 46.88% yellow and 74.90% key (black). The closest short hexadecimal code of #401222 is #412.
Example CSS code:
.setFontColor { color: #401222; }
.setBackgroundColor { background-color: #401222; }
How to set font color?
<p style="color:#401222">Font color is #401222.</p>
Font color is #401222.
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:#401222">Background color is #401222.</div>
Background color is #401222.
Compromise in colors is grey.
- Edi Rama