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