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