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