HEX: #516661
RGB: (81,102,97)
#516661 contains red, green and blue colors in about the same proportion. Web safe color of #516661 is #666666 (or #666).
#516661 color RGB value is (81,102,97).
RGB: (81,102,97) (32%,40%,38%)
R 81 of 255 = 32%
G 102 of 255 = 40%
B 97 of 255 = 38%
R + G + B ~ 37%. #516661 is quite dark color.
R + G + B =
81 + 102 + 97 = 280 (100%)
R 81 of 280 ~ 28.93%
G 102 of 280 ~ 36.43%
B 97 of 280 ~ 34.64%
#516661 color CMYK value is (21,0,5,60).
CMYK: (21,0,5,60) C21M0Y5K60 (21%,0%,5%,60%) (0.21/0.00/0.05/0.60)
51 | 66 | 61 | |
---|---|---|---|
RGB | 81 | 102 | 97 |
HSL | 166° | 11.48% | 35.88% |
HSB/HSV | 166° | 20.59% | 40.00% |
CMYK | 20.59% | 0.00% | 4.90% |
60.00% |
HEX | 51 | 66 | 61 |
Decimal | 81 | 102 | 97 |
Binary | 1010001 | 1100110 | 1100001 |
Octal | 121 | 146 | 141 |
Examples of css and html codes for elements with #516661 color. Also use rgb(81,102,97) instead hex code.
.myTextColor { color: #516661; }
<p style="color:#516661">This sample text font color is #516661.</p>
This text font color is #516661.
.myBgColor { background-color: #516661; }
<div style="background-color:#516661">Inner text</div>
This div background color is #516661.
.myBorderColor { border: 1px solid #516661; }
<div style="border:3px solid #516661">Div</div>
This div border color is #516661.
.myOpacity80 { color: #516661; opacity: 0.8; }
<p style="color:#516661;opacity:0.8;">80%</p>
Text with #516661 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516661;}
<p style="text-shadow: 3px 3px 1px #516661">Text here.</p>
This text has shadow with #516661 color.
.textShadow {text-shadow: 3px 3px 1px #516661, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516661, 5px 5px 20px red">Text here.</p>
This text has shadow with #516661 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516661, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516661, Direction=45, Strength=4)">Text</p>
This text has shadow with #516661 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516661; -webkit-box-shadow: 1px 1px 3px 2px #516661; box-shadow: 1px 1px 3px 2px #516661; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516661; -webkit-box-shadow: 1px 1px 3px 2px #516661; box-shadow:1px 1px 3px 2px #516661;">
Div content here</div>
This text has color #516661 on black background.
This text has color #516661 on white background.
This text has black color on #516661 background.
This text has white color on #516661 background.