Hex color #972e3f, RGB(151, 46, 63) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #972e3f is a shade of red. In a RGB color space it is composed of 59.22% red, 18.04% green and 24.71% blue. In HSL notation it has 350.3° hue, 53.3% saturation and 38.6% lightness. The process color (CMYK) is combination of 0% cyan, 69.54% magenta, 58.28% yellow and 40.78% key (black). The closest short hexadecimal code of #972e3f is #923.
Example CSS code:
.setFontColor { color: #972e3f; }
.setBackgroundColor { background-color: #972e3f; }
How to set font color?
<p style="color:#972e3f">Font color is #972e3f.</p>
Font color is #972e3f.
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:#972e3f">Background color is #972e3f.</div>
Background color is #972e3f.
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