HEX: #516B4D
RGB: (81,107,77)
#516B4D contains red, green and blue colors in about the same proportion. Web safe color of #516B4D is #666633 (or #663).
#516B4D color RGB value is (81,107,77).
RGB: (81,107,77) (32%,42%,30%)
R 81 of 255 = 32%
G 107 of 255 = 42%
B 77 of 255 = 30%
R + G + B ~ 35%. #516B4D is quite dark color.
R + G + B =
81 + 107 + 77 = 265 (100%)
R 81 of 265 ~ 30.57%
G 107 of 265 ~ 40.38%
B 77 of 265 ~ 29.06%
#516B4D color CMYK value is (24,0,28,58).
CMYK: (24,0,28,58) C24M0Y28K58 (24%,0%,28%,58%) (0.24/0.00/0.28/0.58)
51 | 6B | 4D | |
---|---|---|---|
RGB | 81 | 107 | 77 |
HSL | 112° | 16.30% | 36.08% |
HSB/HSV | 112° | 28.04% | 41.96% |
CMYK | 24.30% | 0.00% | 28.04% |
58.04% |
HEX | 51 | 6B | 4D |
Decimal | 81 | 107 | 77 |
Binary | 1010001 | 1101011 | 1001101 |
Octal | 121 | 153 | 115 |
Examples of css and html codes for elements with #516B4D color. Also use rgb(81,107,77) instead hex code.
.myTextColor { color: #516B4D; }
<p style="color:#516B4D">This sample text font color is #516B4D.</p>
This text font color is #516B4D.
.myBgColor { background-color: #516B4D; }
<div style="background-color:#516B4D">Inner text</div>
This div background color is #516B4D.
.myBorderColor { border: 1px solid #516B4D; }
<div style="border:3px solid #516B4D">Div</div>
This div border color is #516B4D.
.myOpacity80 { color: #516B4D; opacity: 0.8; }
<p style="color:#516B4D;opacity:0.8;">80%</p>
Text with #516B4D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516B4D;}
<p style="text-shadow: 3px 3px 1px #516B4D">Text here.</p>
This text has shadow with #516B4D color.
.textShadow {text-shadow: 3px 3px 1px #516B4D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516B4D, 5px 5px 20px red">Text here.</p>
This text has shadow with #516B4D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516B4D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516B4D, Direction=45, Strength=4)">Text</p>
This text has shadow with #516B4D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516B4D; -webkit-box-shadow: 1px 1px 3px 2px #516B4D; box-shadow: 1px 1px 3px 2px #516B4D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516B4D; -webkit-box-shadow: 1px 1px 3px 2px #516B4D; box-shadow:1px 1px 3px 2px #516B4D;">
Div content here</div>
This text has color #516B4D on black background.
This text has color #516B4D on white background.
This text has black color on #516B4D background.
This text has white color on #516B4D background.