HEX: #518651
RGB: (81,134,81)
#518651 contains red, green and blue colors in about the same proportion. Web safe color of #518651 is #669966 (or #696).
#518651 color RGB value is (81,134,81).
RGB: (81,134,81) (32%,53%,32%)
R 81 of 255 = 32%
G 134 of 255 = 53%
B 81 of 255 = 32%
R + G + B ~ 39%. #518651 is quite dark color.
R + G + B =
81 + 134 + 81 = 296 (100%)
R 81 of 296 ~ 27.36%
G 134 of 296 ~ 45.27%
B 81 of 296 ~ 27.36%
#518651 color CMYK value is (40,0,40,47).
CMYK: (40,0,40,47) C40M0Y40K47 (40%,0%,40%,47%) (0.40/0.00/0.40/0.47)
51 | 86 | 51 | |
---|---|---|---|
RGB | 81 | 134 | 81 |
HSL | 120° | 24.65% | 42.16% |
HSB/HSV | 120° | 39.55% | 52.55% |
CMYK | 39.55% | 0.00% | 39.55% |
47.45% |
HEX | 51 | 86 | 51 |
Decimal | 81 | 134 | 81 |
Binary | 1010001 | 10000110 | 1010001 |
Octal | 121 | 206 | 121 |
Examples of css and html codes for elements with #518651 color. Also use rgb(81,134,81) instead hex code.
.myTextColor { color: #518651; }
<p style="color:#518651">This sample text font color is #518651.</p>
This text font color is #518651.
.myBgColor { background-color: #518651; }
<div style="background-color:#518651">Inner text</div>
This div background color is #518651.
.myBorderColor { border: 1px solid #518651; }
<div style="border:3px solid #518651">Div</div>
This div border color is #518651.
.myOpacity80 { color: #518651; opacity: 0.8; }
<p style="color:#518651;opacity:0.8;">80%</p>
Text with #518651 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #518651;}
<p style="text-shadow: 3px 3px 1px #518651">Text here.</p>
This text has shadow with #518651 color.
.textShadow {text-shadow: 3px 3px 1px #518651, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #518651, 5px 5px 20px red">Text here.</p>
This text has shadow with #518651 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#518651, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#518651, Direction=45, Strength=4)">Text</p>
This text has shadow with #518651 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #518651; -webkit-box-shadow: 1px 1px 3px 2px #518651; box-shadow: 1px 1px 3px 2px #518651; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #518651; -webkit-box-shadow: 1px 1px 3px 2px #518651; box-shadow:1px 1px 3px 2px #518651;">
Div content here</div>
This text has color #518651 on black background.
This text has color #518651 on white background.
This text has black color on #518651 background.
This text has white color on #518651 background.