HEX: #518857
RGB: (81,136,87)
#518857 contains red, green and blue colors in about the same proportion. Web safe color of #518857 is #669966 (or #696).
#518857 color RGB value is (81,136,87).
RGB: (81,136,87) (32%,53%,34%)
R 81 of 255 = 32%
G 136 of 255 = 53%
B 87 of 255 = 34%
R + G + B ~ 40%. #518857 is middle color (not dark and not light).
R + G + B =
81 + 136 + 87 = 304 (100%)
R 81 of 304 ~ 26.64%
G 136 of 304 ~ 44.74%
B 87 of 304 ~ 28.62%
#518857 color CMYK value is (40,0,36,47).
CMYK: (40,0,36,47) C40M0Y36K47 (40%,0%,36%,47%) (0.40/0.00/0.36/0.47)
51 | 88 | 57 | |
---|---|---|---|
RGB | 81 | 136 | 87 |
HSL | 127° | 25.35% | 42.55% |
HSB/HSV | 127° | 40.44% | 53.33% |
CMYK | 40.44% | 0.00% | 36.03% |
46.67% |
HEX | 51 | 88 | 57 |
Decimal | 81 | 136 | 87 |
Binary | 1010001 | 10001000 | 1010111 |
Octal | 121 | 210 | 127 |
Examples of css and html codes for elements with #518857 color. Also use rgb(81,136,87) instead hex code.
.myTextColor { color: #518857; }
<p style="color:#518857">This sample text font color is #518857.</p>
This text font color is #518857.
.myBgColor { background-color: #518857; }
<div style="background-color:#518857">Inner text</div>
This div background color is #518857.
.myBorderColor { border: 1px solid #518857; }
<div style="border:3px solid #518857">Div</div>
This div border color is #518857.
.myOpacity80 { color: #518857; opacity: 0.8; }
<p style="color:#518857;opacity:0.8;">80%</p>
Text with #518857 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #518857;}
<p style="text-shadow: 3px 3px 1px #518857">Text here.</p>
This text has shadow with #518857 color.
.textShadow {text-shadow: 3px 3px 1px #518857, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #518857, 5px 5px 20px red">Text here.</p>
This text has shadow with #518857 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#518857, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#518857, Direction=45, Strength=4)">Text</p>
This text has shadow with #518857 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #518857; -webkit-box-shadow: 1px 1px 3px 2px #518857; box-shadow: 1px 1px 3px 2px #518857; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #518857; -webkit-box-shadow: 1px 1px 3px 2px #518857; box-shadow:1px 1px 3px 2px #518857;">
Div content here</div>
This text has color #518857 on black background.
This text has color #518857 on white background.
This text has black color on #518857 background.
This text has white color on #518857 background.