HEX: #516655
RGB: (81,102,85)
#516655 contains red, green and blue colors in about the same proportion. Web safe color of #516655 is #666666 (or #666).
#516655 color RGB value is (81,102,85).
RGB: (81,102,85) (32%,40%,33%)
R 81 of 255 = 32%
G 102 of 255 = 40%
B 85 of 255 = 33%
R + G + B ~ 35%. #516655 is quite dark color.
R + G + B =
81 + 102 + 85 = 268 (100%)
R 81 of 268 ~ 30.22%
G 102 of 268 ~ 38.06%
B 85 of 268 ~ 31.72%
#516655 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 | 66 | 55 | |
---|---|---|---|
RGB | 81 | 102 | 85 |
HSL | 131° | 11.48% | 35.88% |
HSB/HSV | 131° | 20.59% | 40.00% |
CMYK | 20.59% | 0.00% | 16.67% |
60.00% |
HEX | 51 | 66 | 55 |
Decimal | 81 | 102 | 85 |
Binary | 1010001 | 1100110 | 1010101 |
Octal | 121 | 146 | 125 |
Examples of css and html codes for elements with #516655 color. Also use rgb(81,102,85) instead hex code.
.myTextColor { color: #516655; }
<p style="color:#516655">This sample text font color is #516655.</p>
This text font color is #516655.
.myBgColor { background-color: #516655; }
<div style="background-color:#516655">Inner text</div>
This div background color is #516655.
.myBorderColor { border: 1px solid #516655; }
<div style="border:3px solid #516655">Div</div>
This div border color is #516655.
.myOpacity80 { color: #516655; opacity: 0.8; }
<p style="color:#516655;opacity:0.8;">80%</p>
Text with #516655 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516655;}
<p style="text-shadow: 3px 3px 1px #516655">Text here.</p>
This text has shadow with #516655 color.
.textShadow {text-shadow: 3px 3px 1px #516655, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516655, 5px 5px 20px red">Text here.</p>
This text has shadow with #516655 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516655, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516655, Direction=45, Strength=4)">Text</p>
This text has shadow with #516655 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516655; -webkit-box-shadow: 1px 1px 3px 2px #516655; box-shadow: 1px 1px 3px 2px #516655; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516655; -webkit-box-shadow: 1px 1px 3px 2px #516655; box-shadow:1px 1px 3px 2px #516655;">
Div content here</div>
This text has color #516655 on black background.
This text has color #516655 on white background.
This text has black color on #516655 background.
This text has white color on #516655 background.