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