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