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