Hex color #c40622, RGB(196, 6, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c40622 is a shade of red. In a RGB color space it is composed of 76.86% red, 2.35% green and 13.33% blue. In HSL notation it has 351.2° hue, 94.1% saturation and 39.6% lightness. The process color (CMYK) is combination of 0% cyan, 96.94% magenta, 82.65% yellow and 23.14% key (black). The closest short hexadecimal code of #c40622 is #c02.
Example CSS code:
.setFontColor { color: #c40622; }
.setBackgroundColor { background-color: #c40622; }
How to set font color?
<p style="color:#c40622">Font color is #c40622.</p>
Font color is #c40622.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#c40622">Background color is #c40622.</div>
Background color is #c40622.
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