Hex color #c8181a, RGB(200, 24, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c8181a is a shade of red. In a RGB color space it is composed of 78.43% red, 9.41% green and 10.2% blue. In HSL notation it has 359.3° hue, 78.6% saturation and 43.9% lightness. The process color (CMYK) is combination of 0% cyan, 88% magenta, 87% yellow and 21.57% key (black). The closest short hexadecimal code of #c8181a is #c11.
Example CSS code:
.setFontColor { color: #c8181a; }
.setBackgroundColor { background-color: #c8181a; }
How to set font color?
<p style="color:#c8181a">Font color is #c8181a.</p>
Font color is #c8181a.
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:#c8181a">Background color is #c8181a.</div>
Background color is #c8181a.
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