Hex color #d8242b, RGB(216, 36, 43) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d8242b is a shade of red. In a RGB color space it is composed of 84.71% red, 14.12% green and 16.86% blue. In HSL notation it has 357.7° hue, 71.4% saturation and 49.4% lightness. The process color (CMYK) is combination of 0% cyan, 83.33% magenta, 80.09% yellow and 15.29% key (black). The closest short hexadecimal code of #d8242b is #d22.
Example CSS code:
.setFontColor { color: #d8242b; }
.setBackgroundColor { background-color: #d8242b; }
How to set font color?
<p style="color:#d8242b">Font color is #d8242b.</p>
Font color is #d8242b.
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:#d8242b">Background color is #d8242b.</div>
Background color is #d8242b.
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