Hex color #c42028, RGB(196, 32, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c42028 is a shade of red. In a RGB color space it is composed of 76.86% red, 12.55% green and 15.69% blue. In HSL notation it has 357.1° hue, 71.9% saturation and 44.7% lightness. The process color (CMYK) is combination of 0% cyan, 83.67% magenta, 79.59% yellow and 23.14% key (black). The closest short hexadecimal code of #c42028 is #c22.
Example CSS code:
.setFontColor { color: #c42028; }
.setBackgroundColor { background-color: #c42028; }
How to set font color?
<p style="color:#c42028">Font color is #c42028.</p>
Font color is #c42028.
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:#c42028">Background color is #c42028.</div>
Background color is #c42028.
Compromise in colors is grey.
- Edi Rama