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