Hex color #3a4c18, RGB(58, 76, 24) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a4c18 is a shade of green-yellow. In a RGB color space it is composed of 22.75% red, 29.8% green and 9.41% blue. In HSL notation it has 80.8° hue, 52% saturation and 19.6% lightness. The process color (CMYK) is combination of 23.68% cyan, 0% magenta, 68.42% yellow and 70.20% key (black). The closest short hexadecimal code of #3a4c18 is #341.
Example CSS code:
.setFontColor { color: #3a4c18; }
.setBackgroundColor { background-color: #3a4c18; }
How to set font color?
<p style="color:#3a4c18">Font color is #3a4c18.</p>
Font color is #3a4c18.
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:#3a4c18">Background color is #3a4c18.</div>
Background color is #3a4c18.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage