Hex color #da291c, RGB(218, 41, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #da291c is a shade of red. In a RGB color space it is composed of 85.49% red, 16.08% green and 10.98% blue. In HSL notation it has 4.1° hue, 77.2% saturation and 48.2% lightness. The process color (CMYK) is combination of 0% cyan, 81.19% magenta, 87.16% yellow and 14.51% key (black). The closest short hexadecimal code of #da291c is #d21.
Example CSS code:
.setFontColor { color: #da291c; }
.setBackgroundColor { background-color: #da291c; }
How to set font color?
<p style="color:#da291c">Font color is #da291c.</p>
Font color is #da291c.
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:#da291c">Background color is #da291c.</div>
Background color is #da291c.
Compromise in colors is grey.
- Edi Rama