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