HEX: #4D785B
RGB: (77,120,91)
#4D785B contains red, green and blue colors in about the same proportion. Web safe color of #4D785B is #336666 (or #366).
#4D785B color RGB value is (77,120,91).
RGB: (77,120,91) (30%,47%,36%)
R 77 of 255 = 30%
G 120 of 255 = 47%
B 91 of 255 = 36%
R + G + B ~ 38%. #4D785B is quite dark color.
R + G + B =
77 + 120 + 91 = 288 (100%)
R 77 of 288 ~ 26.74%
G 120 of 288 ~ 41.67%
B 91 of 288 ~ 31.6%
#4D785B color CMYK value is (36,0,24,53).
CMYK: (36,0,24,53) C36M0Y24K53 (36%,0%,24%,53%) (0.36/0.00/0.24/0.53)
4D | 78 | 5B | |
---|---|---|---|
RGB | 77 | 120 | 91 |
HSL | 140° | 21.83% | 38.63% |
HSB/HSV | 140° | 35.83% | 47.06% |
CMYK | 35.83% | 0.00% | 24.17% |
52.94% |
HEX | 4D | 78 | 5B |
Decimal | 77 | 120 | 91 |
Binary | 1001101 | 1111000 | 1011011 |
Octal | 115 | 170 | 133 |
Examples of css and html codes for elements with #4D785B color. Also use rgb(77,120,91) instead hex code.
.myTextColor { color: #4D785B; }
<p style="color:#4D785B">This sample text font color is #4D785B.</p>
This text font color is #4D785B.
.myBgColor { background-color: #4D785B; }
<div style="background-color:#4D785B">Inner text</div>
This div background color is #4D785B.
.myBorderColor { border: 1px solid #4D785B; }
<div style="border:3px solid #4D785B">Div</div>
This div border color is #4D785B.
.myOpacity80 { color: #4D785B; opacity: 0.8; }
<p style="color:#4D785B;opacity:0.8;">80%</p>
Text with #4D785B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D785B;}
<p style="text-shadow: 3px 3px 1px #4D785B">Text here.</p>
This text has shadow with #4D785B color.
.textShadow {text-shadow: 3px 3px 1px #4D785B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D785B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D785B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D785B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D785B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D785B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D785B; -webkit-box-shadow: 1px 1px 3px 2px #4D785B; box-shadow: 1px 1px 3px 2px #4D785B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D785B; -webkit-box-shadow: 1px 1px 3px 2px #4D785B; box-shadow:1px 1px 3px 2px #4D785B;">
Div content here</div>
This text has color #4D785B on black background.
This text has color #4D785B on white background.
This text has black color on #4D785B background.
This text has white color on #4D785B background.