HEX: #51684D
RGB: (81,104,77)
#51684D contains red, green and blue colors in about the same proportion. Web safe color of #51684D is #666633 (or #663).
#51684D color RGB value is (81,104,77).
RGB: (81,104,77) (32%,41%,30%)
R 81 of 255 = 32%
G 104 of 255 = 41%
B 77 of 255 = 30%
R + G + B ~ 34%. #51684D is quite dark color.
R + G + B =
81 + 104 + 77 = 262 (100%)
R 81 of 262 ~ 30.92%
G 104 of 262 ~ 39.69%
B 77 of 262 ~ 29.39%
#51684D color CMYK value is (22,0,26,59).
CMYK: (22,0,26,59) C22M0Y26K59 (22%,0%,26%,59%) (0.22/0.00/0.26/0.59)
51 | 68 | 4D | |
---|---|---|---|
RGB | 81 | 104 | 77 |
HSL | 111° | 14.92% | 35.49% |
HSB/HSV | 111° | 25.96% | 40.78% |
CMYK | 22.12% | 0.00% | 25.96% |
59.22% |
HEX | 51 | 68 | 4D |
Decimal | 81 | 104 | 77 |
Binary | 1010001 | 1101000 | 1001101 |
Octal | 121 | 150 | 115 |
Examples of css and html codes for elements with #51684D color. Also use rgb(81,104,77) instead hex code.
.myTextColor { color: #51684D; }
<p style="color:#51684D">This sample text font color is #51684D.</p>
This text font color is #51684D.
.myBgColor { background-color: #51684D; }
<div style="background-color:#51684D">Inner text</div>
This div background color is #51684D.
.myBorderColor { border: 1px solid #51684D; }
<div style="border:3px solid #51684D">Div</div>
This div border color is #51684D.
.myOpacity80 { color: #51684D; opacity: 0.8; }
<p style="color:#51684D;opacity:0.8;">80%</p>
Text with #51684D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51684D;}
<p style="text-shadow: 3px 3px 1px #51684D">Text here.</p>
This text has shadow with #51684D color.
.textShadow {text-shadow: 3px 3px 1px #51684D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51684D, 5px 5px 20px red">Text here.</p>
This text has shadow with #51684D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51684D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51684D, Direction=45, Strength=4)">Text</p>
This text has shadow with #51684D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51684D; -webkit-box-shadow: 1px 1px 3px 2px #51684D; box-shadow: 1px 1px 3px 2px #51684D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51684D; -webkit-box-shadow: 1px 1px 3px 2px #51684D; box-shadow:1px 1px 3px 2px #51684D;">
Div content here</div>
This text has color #51684D on black background.
This text has color #51684D on white background.
This text has black color on #51684D background.
This text has white color on #51684D background.