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