Hex color #8e173b, RGB(142, 23, 59) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8e173b is a shade of red-magenta. In a RGB color space it is composed of 55.69% red, 9.02% green and 23.14% blue. In HSL notation it has 341.8° hue, 72.1% saturation and 32.4% lightness. The process color (CMYK) is combination of 0% cyan, 83.80% magenta, 58.45% yellow and 44.31% key (black). The closest short hexadecimal code of #8e173b is #813.
Example CSS code:
.setFontColor { color: #8e173b; }
.setBackgroundColor { background-color: #8e173b; }
How to set font color?
<p style="color:#8e173b">Font color is #8e173b.</p>
Font color is #8e173b.
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:#8e173b">Background color is #8e173b.</div>
Background color is #8e173b.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage