HEX: #516756
RGB: (81,103,86)
#516756 contains red, green and blue colors in about the same proportion. Web safe color of #516756 is #666666 (or #666).
#516756 color RGB value is (81,103,86).
RGB: (81,103,86) (32%,40%,34%)
R 81 of 255 = 32%
G 103 of 255 = 40%
B 86 of 255 = 34%
R + G + B ~ 35%. #516756 is quite dark color.
R + G + B =
81 + 103 + 86 = 270 (100%)
R 81 of 270 ~ 30%
G 103 of 270 ~ 38.15%
B 86 of 270 ~ 31.85%
#516756 color CMYK value is (21,0,17,60).
CMYK: (21,0,17,60) C21M0Y17K60 (21%,0%,17%,60%) (0.21/0.00/0.17/0.60)
51 | 67 | 56 | |
---|---|---|---|
RGB | 81 | 103 | 86 |
HSL | 134° | 11.96% | 36.08% |
HSB/HSV | 134° | 21.36% | 40.39% |
CMYK | 21.36% | 0.00% | 16.50% |
59.61% |
HEX | 51 | 67 | 56 |
Decimal | 81 | 103 | 86 |
Binary | 1010001 | 1100111 | 1010110 |
Octal | 121 | 147 | 126 |
Examples of css and html codes for elements with #516756 color. Also use rgb(81,103,86) instead hex code.
.myTextColor { color: #516756; }
<p style="color:#516756">This sample text font color is #516756.</p>
This text font color is #516756.
.myBgColor { background-color: #516756; }
<div style="background-color:#516756">Inner text</div>
This div background color is #516756.
.myBorderColor { border: 1px solid #516756; }
<div style="border:3px solid #516756">Div</div>
This div border color is #516756.
.myOpacity80 { color: #516756; opacity: 0.8; }
<p style="color:#516756;opacity:0.8;">80%</p>
Text with #516756 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516756;}
<p style="text-shadow: 3px 3px 1px #516756">Text here.</p>
This text has shadow with #516756 color.
.textShadow {text-shadow: 3px 3px 1px #516756, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516756, 5px 5px 20px red">Text here.</p>
This text has shadow with #516756 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516756, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516756, Direction=45, Strength=4)">Text</p>
This text has shadow with #516756 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516756; -webkit-box-shadow: 1px 1px 3px 2px #516756; box-shadow: 1px 1px 3px 2px #516756; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516756; -webkit-box-shadow: 1px 1px 3px 2px #516756; box-shadow:1px 1px 3px 2px #516756;">
Div content here</div>
This text has color #516756 on black background.
This text has color #516756 on white background.
This text has black color on #516756 background.
This text has white color on #516756 background.