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