Hex color #3a3a31, RGB(58, 58, 49) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a3a31 is a shade of yellow. In a RGB color space it is composed of 22.75% red, 22.75% green and 19.22% blue. In HSL notation it has 60° hue, 8.4% saturation and 21% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 15.52% yellow and 77.25% key (black). The closest short hexadecimal code of #3a3a31 is #333.
Example CSS code:
.setFontColor { color: #3a3a31; }
.setBackgroundColor { background-color: #3a3a31; }
How to set font color?
<p style="color:#3a3a31">Font color is #3a3a31.</p>
Font color is #3a3a31.
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:#3a3a31">Background color is #3a3a31.</div>
Background color is #3a3a31.
Compromise in colors is grey.
- Edi Rama