HEX: #7E9D5E
RGB: (126,157,94)
#7E9D5E contains mainly red and green colors. Web safe color of #7E9D5E is #669966 (or #696).
#7E9D5E color RGB value is (126,157,94).
RGB: (126,157,94) (49%,62%,37%)
R 126 of 255 = 49%
G 157 of 255 = 62%
B 94 of 255 = 37%
R + G + B ~ 49%. #7E9D5E is middle color (not dark and not light).
R + G + B =
126 + 157 + 94 = 377 (100%)
R 126 of 377 ~ 33.42%
G 157 of 377 ~ 41.64%
B 94 of 377 ~ 24.93%
#7E9D5E color CMYK value is (20,0,40,38).
CMYK: (20,0,40,38) C20M0Y40K38 (20%,0%,40%,38%) (0.20/0.00/0.40/0.38)
7E | 9D | 5E | |
---|---|---|---|
RGB | 126 | 157 | 94 |
HSL | 90° | 25.10% | 49.22% |
HSB/HSV | 90° | 40.13% | 61.57% |
CMYK | 19.75% | 0.00% | 40.13% |
38.43% |
HEX | 7E | 9D | 5E |
Decimal | 126 | 157 | 94 |
Binary | 1111110 | 10011101 | 1011110 |
Octal | 176 | 235 | 136 |
Examples of css and html codes for elements with #7E9D5E color. Also use rgb(126,157,94) instead hex code.
.myTextColor { color: #7E9D5E; }
<p style="color:#7E9D5E">This sample text font color is #7E9D5E.</p>
This text font color is #7E9D5E.
.myBgColor { background-color: #7E9D5E; }
<div style="background-color:#7E9D5E">Inner text</div>
This div background color is #7E9D5E.
.myBorderColor { border: 1px solid #7E9D5E; }
<div style="border:3px solid #7E9D5E">Div</div>
This div border color is #7E9D5E.
.myOpacity80 { color: #7E9D5E; opacity: 0.8; }
<p style="color:#7E9D5E;opacity:0.8;">80%</p>
Text with #7E9D5E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E9D5E;}
<p style="text-shadow: 3px 3px 1px #7E9D5E">Text here.</p>
This text has shadow with #7E9D5E color.
.textShadow {text-shadow: 3px 3px 1px #7E9D5E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E9D5E, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E9D5E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E9D5E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E9D5E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E9D5E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E9D5E; -webkit-box-shadow: 1px 1px 3px 2px #7E9D5E; box-shadow: 1px 1px 3px 2px #7E9D5E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E9D5E; -webkit-box-shadow: 1px 1px 3px 2px #7E9D5E; box-shadow:1px 1px 3px 2px #7E9D5E;">
Div content here</div>
This text has color #7E9D5E on black background.
This text has color #7E9D5E on white background.
This text has black color on #7E9D5E background.
This text has white color on #7E9D5E background.