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