Hex color #d31a35, RGB(211, 26, 53) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d31a35 is a shade of red. In a RGB color space it is composed of 82.75% red, 10.2% green and 20.78% blue. In HSL notation it has 351.2° hue, 78.1% saturation and 46.5% lightness. The process color (CMYK) is combination of 0% cyan, 87.68% magenta, 74.88% yellow and 17.25% key (black). The closest short hexadecimal code of #d31a35 is #d13.
Example CSS code:
.setFontColor { color: #d31a35; }
.setBackgroundColor { background-color: #d31a35; }
How to set font color?
<p style="color:#d31a35">Font color is #d31a35.</p>
Font color is #d31a35.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#d31a35">Background color is #d31a35.</div>
Background color is #d31a35.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage