Hex color #8e171d, RGB(142, 23, 29) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8e171d is a shade of red. In a RGB color space it is composed of 55.69% red, 9.02% green and 11.37% blue. In HSL notation it has 357° hue, 72.1% saturation and 32.4% lightness. The process color (CMYK) is combination of 0% cyan, 83.80% magenta, 79.58% yellow and 44.31% key (black). The closest short hexadecimal code of #8e171d is #811.
Example CSS code:
.setFontColor { color: #8e171d; }
.setBackgroundColor { background-color: #8e171d; }
How to set font color?
<p style="color:#8e171d">Font color is #8e171d.</p>
Font color is #8e171d.
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:#8e171d">Background color is #8e171d.</div>
Background color is #8e171d.
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