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