Hex color #dc2730, RGB(220, 39, 48) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #dc2730 is a shade of red. In a RGB color space it is composed of 86.27% red, 15.29% green and 18.82% blue. In HSL notation it has 357° hue, 72.1% saturation and 50.8% lightness. The process color (CMYK) is combination of 0% cyan, 82.27% magenta, 78.18% yellow and 13.73% key (black). The closest short hexadecimal code of #dc2730 is #d23.
Example CSS code:
.setFontColor { color: #dc2730; }
.setBackgroundColor { background-color: #dc2730; }
How to set font color?
<p style="color:#dc2730">Font color is #dc2730.</p>
Font color is #dc2730.
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:#dc2730">Background color is #dc2730.</div>
Background color is #dc2730.
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