Hex color #d4213d, RGB(212, 33, 61) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d4213d is a shade of red. In a RGB color space it is composed of 83.14% red, 12.94% green and 23.92% blue. In HSL notation it has 350.6° hue, 73.1% saturation and 48% lightness. The process color (CMYK) is combination of 0% cyan, 84.43% magenta, 71.23% yellow and 16.86% key (black). The closest short hexadecimal code of #d4213d is #d23.
Example CSS code:
.setFontColor { color: #d4213d; }
.setBackgroundColor { background-color: #d4213d; }
How to set font color?
<p style="color:#d4213d">Font color is #d4213d.</p>
Font color is #d4213d.
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:#d4213d">Background color is #d4213d.</div>
Background color is #d4213d.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage