HEX: #4D766F
RGB: (77,118,111)
#4D766F contains red, green and blue colors in about the same proportion. Web safe color of #4D766F is #336666 (or #366).
#4D766F color RGB value is (77,118,111).
RGB: (77,118,111) (30%,46%,44%)
R 77 of 255 = 30%
G 118 of 255 = 46%
B 111 of 255 = 44%
R + G + B ~ 40%. #4D766F is middle color (not dark and not light).
R + G + B =
77 + 118 + 111 = 306 (100%)
R 77 of 306 ~ 25.16%
G 118 of 306 ~ 38.56%
B 111 of 306 ~ 36.27%
#4D766F color CMYK value is (35,0,6,54).
CMYK: (35,0,6,54) C35M0Y6K54 (35%,0%,6%,54%) (0.35/0.00/0.06/0.54)
4D | 76 | 6F | |
---|---|---|---|
RGB | 77 | 118 | 111 |
HSL | 170° | 21.03% | 38.24% |
HSB/HSV | 170° | 34.75% | 46.27% |
CMYK | 34.75% | 0.00% | 5.93% |
53.73% |
HEX | 4D | 76 | 6F |
Decimal | 77 | 118 | 111 |
Binary | 1001101 | 1110110 | 1101111 |
Octal | 115 | 166 | 157 |
Examples of css and html codes for elements with #4D766F color. Also use rgb(77,118,111) instead hex code.
.myTextColor { color: #4D766F; }
<p style="color:#4D766F">This sample text font color is #4D766F.</p>
This text font color is #4D766F.
.myBgColor { background-color: #4D766F; }
<div style="background-color:#4D766F">Inner text</div>
This div background color is #4D766F.
.myBorderColor { border: 1px solid #4D766F; }
<div style="border:3px solid #4D766F">Div</div>
This div border color is #4D766F.
.myOpacity80 { color: #4D766F; opacity: 0.8; }
<p style="color:#4D766F;opacity:0.8;">80%</p>
Text with #4D766F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D766F;}
<p style="text-shadow: 3px 3px 1px #4D766F">Text here.</p>
This text has shadow with #4D766F color.
.textShadow {text-shadow: 3px 3px 1px #4D766F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D766F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D766F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D766F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D766F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D766F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D766F; -webkit-box-shadow: 1px 1px 3px 2px #4D766F; box-shadow: 1px 1px 3px 2px #4D766F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D766F; -webkit-box-shadow: 1px 1px 3px 2px #4D766F; box-shadow:1px 1px 3px 2px #4D766F;">
Div content here</div>
This text has color #4D766F on black background.
This text has color #4D766F on white background.
This text has black color on #4D766F background.
This text has white color on #4D766F background.