Hex color #3a5e17, RGB(58, 94, 23) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a5e17 is a shade of green-yellow. In a RGB color space it is composed of 22.75% red, 36.86% green and 9.02% blue. In HSL notation it has 90.4° hue, 60.7% saturation and 22.9% lightness. The process color (CMYK) is combination of 38.30% cyan, 0% magenta, 75.53% yellow and 63.14% key (black). The closest short hexadecimal code of #3a5e17 is #351.
Example CSS code:
.setFontColor { color: #3a5e17; }
.setBackgroundColor { background-color: #3a5e17; }
How to set font color?
<p style="color:#3a5e17">Font color is #3a5e17.</p>
Font color is #3a5e17.
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:#3a5e17">Background color is #3a5e17.</div>
Background color is #3a5e17.
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