Hex color #2a1f07, RGB(42, 31, 7) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a1f07 is a shade of red-yellow. In a RGB color space it is composed of 16.47% red, 12.16% green and 2.75% blue. In HSL notation it has 41.1° hue, 71.4% saturation and 9.6% lightness. The process color (CMYK) is combination of 0% cyan, 26.19% magenta, 83.33% yellow and 83.53% key (black). The closest short hexadecimal code of #2a1f07 is #210.
Example CSS code:
.setFontColor { color: #2a1f07; }
.setBackgroundColor { background-color: #2a1f07; }
How to set font color?
<p style="color:#2a1f07">Font color is #2a1f07.</p>
Font color is #2a1f07.
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
How to set background color?
<div style="background-color:#2a1f07">Background color is #2a1f07.</div>
Background color is #2a1f07.
Compromise in colors is grey.
- Edi Rama