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