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