Hex color #51855e, RGB(81, 133, 94) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #51855e is a shade of green-cyan. In a RGB color space it is composed of 31.76% red, 52.16% green and 36.86% blue. In HSL notation it has 135° hue, 24.3% saturation and 42% lightness. The process color (CMYK) is combination of 39.10% cyan, 0% magenta, 29.32% yellow and 47.84% key (black). The closest short hexadecimal code of #51855e is #585.
Example CSS code:
.setFontColor { color: #51855e; }
.setBackgroundColor { background-color: #51855e; }
How to set font color?
<p style="color:#51855e">Font color is #51855e.</p>
Font color is #51855e.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#51855e">Background color is #51855e.</div>
Background color is #51855e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage