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