Hex color #487218, RGB(72, 114, 24) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #487218 is a shade of green-yellow. In a RGB color space it is composed of 28.24% red, 44.71% green and 9.41% blue. In HSL notation it has 88° hue, 65.2% saturation and 27.1% lightness. The process color (CMYK) is combination of 36.84% cyan, 0% magenta, 78.95% yellow and 55.29% key (black). The closest short hexadecimal code of #487218 is #471.
Example CSS code:
.setFontColor { color: #487218; }
.setBackgroundColor { background-color: #487218; }
How to set font color?
<p style="color:#487218">Font color is #487218.</p>
Font color is #487218.
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:#487218">Background color is #487218.</div>
Background color is #487218.
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