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