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