Hex color #981a15, RGB(152, 26, 21) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #981a15 is a shade of red. In a RGB color space it is composed of 59.61% red, 10.2% green and 8.24% blue. In HSL notation it has 2.3° hue, 75.7% saturation and 33.9% lightness. The process color (CMYK) is combination of 0% cyan, 82.89% magenta, 86.18% yellow and 40.39% key (black). The closest short hexadecimal code of #981a15 is #911.
Example CSS code:
.setFontColor { color: #981a15; }
.setBackgroundColor { background-color: #981a15; }
How to set font color?
<p style="color:#981a15">Font color is #981a15.</p>
Font color is #981a15.
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:#981a15">Background color is #981a15.</div>
Background color is #981a15.
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