Hex color #2e2f0b, RGB(46, 47, 11) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2e2f0b is a shade of yellow. In a RGB color space it is composed of 18.04% red, 18.43% green and 4.31% blue. In HSL notation it has 61.7° hue, 62.1% saturation and 11.4% lightness. The process color (CMYK) is combination of 2.13% cyan, 0% magenta, 76.60% yellow and 81.57% key (black). The closest short hexadecimal code of #2e2f0b is #220.
Example CSS code:
.setFontColor { color: #2e2f0b; }
.setBackgroundColor { background-color: #2e2f0b; }
How to set font color?
<p style="color:#2e2f0b">Font color is #2e2f0b.</p>
Font color is #2e2f0b.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#2e2f0b">Background color is #2e2f0b.</div>
Background color is #2e2f0b.
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