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