HEX: #4B8829
RGB: (75,136,41)
#4B8829 contains mainly green color. Web safe color of #4B8829 is #339933 (or #393).
#4B8829 color RGB value is (75,136,41).
RGB: (75,136,41) (29%,53%,16%)
R 75 of 255 = 29%
G 136 of 255 = 53%
B 41 of 255 = 16%
R + G + B ~ 33%. #4B8829 is quite dark color.
R + G + B =
75 + 136 + 41 = 252 (100%)
R 75 of 252 ~ 29.76%
G 136 of 252 ~ 53.97%
B 41 of 252 ~ 16.27%
#4B8829 color CMYK value is (45,0,70,47).
CMYK: (45,0,70,47) C45M0Y70K47 (45%,0%,70%,47%) (0.45/0.00/0.70/0.47)
4B | 88 | 29 | |
---|---|---|---|
RGB | 75 | 136 | 41 |
HSL | 99° | 53.67% | 34.71% |
HSB/HSV | 99° | 69.85% | 53.33% |
CMYK | 44.85% | 0.00% | 69.85% |
46.67% |
HEX | 4B | 88 | 29 |
Decimal | 75 | 136 | 41 |
Binary | 1001011 | 10001000 | 101001 |
Octal | 113 | 210 | 51 |
Examples of css and html codes for elements with #4B8829 color. Also use rgb(75,136,41) instead hex code.
.myTextColor { color: #4B8829; }
<p style="color:#4B8829">This sample text font color is #4B8829.</p>
This text font color is #4B8829.
.myBgColor { background-color: #4B8829; }
<div style="background-color:#4B8829">Inner text</div>
This div background color is #4B8829.
.myBorderColor { border: 1px solid #4B8829; }
<div style="border:3px solid #4B8829">Div</div>
This div border color is #4B8829.
.myOpacity80 { color: #4B8829; opacity: 0.8; }
<p style="color:#4B8829;opacity:0.8;">80%</p>
Text with #4B8829 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B8829;}
<p style="text-shadow: 3px 3px 1px #4B8829">Text here.</p>
This text has shadow with #4B8829 color.
.textShadow {text-shadow: 3px 3px 1px #4B8829, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B8829, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B8829 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B8829, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B8829, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B8829 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B8829; -webkit-box-shadow: 1px 1px 3px 2px #4B8829; box-shadow: 1px 1px 3px 2px #4B8829; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B8829; -webkit-box-shadow: 1px 1px 3px 2px #4B8829; box-shadow:1px 1px 3px 2px #4B8829;">
Div content here</div>
This text has color #4B8829 on black background.
This text has color #4B8829 on white background.
This text has black color on #4B8829 background.
This text has white color on #4B8829 background.