Hex color #3a5b13, RGB(58, 91, 19) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a5b13 is a shade of green-yellow. In a RGB color space it is composed of 22.75% red, 35.69% green and 7.45% blue. In HSL notation it has 87.5° hue, 65.5% saturation and 21.6% lightness. The process color (CMYK) is combination of 36.26% cyan, 0% magenta, 79.12% yellow and 64.31% key (black). The closest short hexadecimal code of #3a5b13 is #351.
Example CSS code:
.setFontColor { color: #3a5b13; }
.setBackgroundColor { background-color: #3a5b13; }
How to set font color?
<p style="color:#3a5b13">Font color is #3a5b13.</p>
Font color is #3a5b13.
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:#3a5b13">Background color is #3a5b13.</div>
Background color is #3a5b13.
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