Hex color #5e9d12, RGB(94, 157, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5e9d12 is a shade of green-yellow. In a RGB color space it is composed of 36.86% red, 61.57% green and 7.06% blue. In HSL notation it has 87.2° hue, 79.4% saturation and 34.3% lightness. The process color (CMYK) is combination of 40.13% cyan, 0% magenta, 88.54% yellow and 38.43% key (black). The closest short hexadecimal code of #5e9d12 is #591.
Example CSS code:
.setFontColor { color: #5e9d12; }
.setBackgroundColor { background-color: #5e9d12; }
How to set font color?
<p style="color:#5e9d12">Font color is #5e9d12.</p>
Font color is #5e9d12.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#5e9d12">Background color is #5e9d12.</div>
Background color is #5e9d12.
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