HEX: #4D895D
RGB: (77,137,93)
#4D895D contains mainly green and blue colors. Web safe color of #4D895D is #339966 (or #396).
#4D895D color RGB value is (77,137,93).
RGB: (77,137,93) (30%,54%,36%)
R 77 of 255 = 30%
G 137 of 255 = 54%
B 93 of 255 = 36%
R + G + B ~ 40%. #4D895D is middle color (not dark and not light).
R + G + B =
77 + 137 + 93 = 307 (100%)
R 77 of 307 ~ 25.08%
G 137 of 307 ~ 44.63%
B 93 of 307 ~ 30.29%
#4D895D color CMYK value is (44,0,32,46).
CMYK: (44,0,32,46) C44M0Y32K46 (44%,0%,32%,46%) (0.44/0.00/0.32/0.46)
4D | 89 | 5D | |
---|---|---|---|
RGB | 77 | 137 | 93 |
HSL | 136° | 28.04% | 41.96% |
HSB/HSV | 136° | 43.80% | 53.73% |
CMYK | 43.80% | 0.00% | 32.12% |
46.27% |
HEX | 4D | 89 | 5D |
Decimal | 77 | 137 | 93 |
Binary | 1001101 | 10001001 | 1011101 |
Octal | 115 | 211 | 135 |
Examples of css and html codes for elements with #4D895D color. Also use rgb(77,137,93) instead hex code.
.myTextColor { color: #4D895D; }
<p style="color:#4D895D">This sample text font color is #4D895D.</p>
This text font color is #4D895D.
.myBgColor { background-color: #4D895D; }
<div style="background-color:#4D895D">Inner text</div>
This div background color is #4D895D.
.myBorderColor { border: 1px solid #4D895D; }
<div style="border:3px solid #4D895D">Div</div>
This div border color is #4D895D.
.myOpacity80 { color: #4D895D; opacity: 0.8; }
<p style="color:#4D895D;opacity:0.8;">80%</p>
Text with #4D895D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D895D;}
<p style="text-shadow: 3px 3px 1px #4D895D">Text here.</p>
This text has shadow with #4D895D color.
.textShadow {text-shadow: 3px 3px 1px #4D895D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D895D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D895D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D895D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D895D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D895D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D895D; -webkit-box-shadow: 1px 1px 3px 2px #4D895D; box-shadow: 1px 1px 3px 2px #4D895D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D895D; -webkit-box-shadow: 1px 1px 3px 2px #4D895D; box-shadow:1px 1px 3px 2px #4D895D;">
Div content here</div>
This text has color #4D895D on black background.
This text has color #4D895D on white background.
This text has black color on #4D895D background.
This text has white color on #4D895D background.