HEX: #4D8825
RGB: (77,136,37)
#4D8825 contains mainly red and green colors. Web safe color of #4D8825 is #339933 (or #393).
#4D8825 color RGB value is (77,136,37).
RGB: (77,136,37) (30%,53%,15%)
R 77 of 255 = 30%
G 136 of 255 = 53%
B 37 of 255 = 15%
R + G + B ~ 33%. #4D8825 is quite dark color.
R + G + B =
77 + 136 + 37 = 250 (100%)
R 77 of 250 ~ 30.8%
G 136 of 250 ~ 54.4%
B 37 of 250 ~ 14.8%
#4D8825 color CMYK value is (43,0,73,47).
CMYK: (43,0,73,47) C43M0Y73K47 (43%,0%,73%,47%) (0.43/0.00/0.73/0.47)
4D | 88 | 25 | |
---|---|---|---|
RGB | 77 | 136 | 37 |
HSL | 96° | 57.23% | 33.92% |
HSB/HSV | 96° | 72.79% | 53.33% |
CMYK | 43.38% | 0.00% | 72.79% |
46.67% |
HEX | 4D | 88 | 25 |
Decimal | 77 | 136 | 37 |
Binary | 1001101 | 10001000 | 100101 |
Octal | 115 | 210 | 45 |
Examples of css and html codes for elements with #4D8825 color. Also use rgb(77,136,37) instead hex code.
.myTextColor { color: #4D8825; }
<p style="color:#4D8825">This sample text font color is #4D8825.</p>
This text font color is #4D8825.
.myBgColor { background-color: #4D8825; }
<div style="background-color:#4D8825">Inner text</div>
This div background color is #4D8825.
.myBorderColor { border: 1px solid #4D8825; }
<div style="border:3px solid #4D8825">Div</div>
This div border color is #4D8825.
.myOpacity80 { color: #4D8825; opacity: 0.8; }
<p style="color:#4D8825;opacity:0.8;">80%</p>
Text with #4D8825 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D8825;}
<p style="text-shadow: 3px 3px 1px #4D8825">Text here.</p>
This text has shadow with #4D8825 color.
.textShadow {text-shadow: 3px 3px 1px #4D8825, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D8825, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D8825 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D8825, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D8825, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D8825 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D8825; -webkit-box-shadow: 1px 1px 3px 2px #4D8825; box-shadow: 1px 1px 3px 2px #4D8825; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D8825; -webkit-box-shadow: 1px 1px 3px 2px #4D8825; box-shadow:1px 1px 3px 2px #4D8825;">
Div content here</div>
This text has color #4D8825 on black background.
This text has color #4D8825 on white background.
This text has black color on #4D8825 background.
This text has white color on #4D8825 background.