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