Hex color #51856b, RGB(81, 133, 107) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #51856b is a shade of green-cyan. In a RGB color space it is composed of 31.76% red, 52.16% green and 41.96% blue. In HSL notation it has 150° hue, 24.3% saturation and 42% lightness. The process color (CMYK) is combination of 39.10% cyan, 0% magenta, 19.55% yellow and 47.84% key (black). The closest short hexadecimal code of #51856b is #586.
Example CSS code:
.setFontColor { color: #51856b; }
.setBackgroundColor { background-color: #51856b; }
How to set font color?
<p style="color:#51856b">Font color is #51856b.</p>
Font color is #51856b.
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:#51856b">Background color is #51856b.</div>
Background color is #51856b.
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