HEX: #4D9B48
RGB: (77,155,72)
#4D9B48 contains mainly green color. Web safe color of #4D9B48 is #339933 (or #393).
#4D9B48 color RGB value is (77,155,72).
RGB: (77,155,72) (30%,61%,28%)
R 77 of 255 = 30%
G 155 of 255 = 61%
B 72 of 255 = 28%
R + G + B ~ 40%. #4D9B48 is middle color (not dark and not light).
R + G + B =
77 + 155 + 72 = 304 (100%)
R 77 of 304 ~ 25.33%
G 155 of 304 ~ 50.99%
B 72 of 304 ~ 23.68%
#4D9B48 color CMYK value is (50,0,54,39).
CMYK: (50,0,54,39) C50M0Y54K39 (50%,0%,54%,39%) (0.50/0.00/0.54/0.39)
4D | 9B | 48 | |
---|---|---|---|
RGB | 77 | 155 | 72 |
HSL | 116° | 36.56% | 44.51% |
HSB/HSV | 116° | 53.55% | 60.78% |
CMYK | 50.32% | 0.00% | 53.55% |
39.22% |
HEX | 4D | 9B | 48 |
Decimal | 77 | 155 | 72 |
Binary | 1001101 | 10011011 | 1001000 |
Octal | 115 | 233 | 110 |
Examples of css and html codes for elements with #4D9B48 color. Also use rgb(77,155,72) instead hex code.
.myTextColor { color: #4D9B48; }
<p style="color:#4D9B48">This sample text font color is #4D9B48.</p>
This text font color is #4D9B48.
.myBgColor { background-color: #4D9B48; }
<div style="background-color:#4D9B48">Inner text</div>
This div background color is #4D9B48.
.myBorderColor { border: 1px solid #4D9B48; }
<div style="border:3px solid #4D9B48">Div</div>
This div border color is #4D9B48.
.myOpacity80 { color: #4D9B48; opacity: 0.8; }
<p style="color:#4D9B48;opacity:0.8;">80%</p>
Text with #4D9B48 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D9B48;}
<p style="text-shadow: 3px 3px 1px #4D9B48">Text here.</p>
This text has shadow with #4D9B48 color.
.textShadow {text-shadow: 3px 3px 1px #4D9B48, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D9B48, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D9B48 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D9B48, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D9B48, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D9B48 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D9B48; -webkit-box-shadow: 1px 1px 3px 2px #4D9B48; box-shadow: 1px 1px 3px 2px #4D9B48; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D9B48; -webkit-box-shadow: 1px 1px 3px 2px #4D9B48; box-shadow:1px 1px 3px 2px #4D9B48;">
Div content here</div>
This text has color #4D9B48 on black background.
This text has color #4D9B48 on white background.
This text has black color on #4D9B48 background.
This text has white color on #4D9B48 background.