Hex color #c8102e, RGB(200, 16, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c8102e is a shade of red. In a RGB color space it is composed of 78.43% red, 6.27% green and 18.04% blue. In HSL notation it has 350.2° hue, 85.2% saturation and 42.4% lightness. The process color (CMYK) is combination of 0% cyan, 92% magenta, 77% yellow and 21.57% key (black). The closest short hexadecimal code of #c8102e is #c12.
Example CSS code:
.setFontColor { color: #c8102e; }
.setBackgroundColor { background-color: #c8102e; }
How to set font color?
<p style="color:#c8102e">Font color is #c8102e.</p>
Font color is #c8102e.
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:#c8102e">Background color is #c8102e.</div>
Background color is #c8102e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage