HEX: #7EA85C
RGB: (126,168,92)
#7EA85C contains mainly red and green colors. Web safe color of #7EA85C is #669966 (or #696).
#7EA85C color RGB value is (126,168,92).
RGB: (126,168,92) (49%,66%,36%)
R 126 of 255 = 49%
G 168 of 255 = 66%
B 92 of 255 = 36%
R + G + B ~ 50%. #7EA85C is middle color (not dark and not light).
R + G + B =
126 + 168 + 92 = 386 (100%)
R 126 of 386 ~ 32.64%
G 168 of 386 ~ 43.52%
B 92 of 386 ~ 23.83%
#7EA85C color CMYK value is (25,0,45,34).
CMYK: (25,0,45,34) C25M0Y45K34 (25%,0%,45%,34%) (0.25/0.00/0.45/0.34)
7E | A8 | 5C | |
---|---|---|---|
RGB | 126 | 168 | 92 |
HSL | 93° | 30.40% | 50.98% |
HSB/HSV | 93° | 45.24% | 65.88% |
CMYK | 25.00% | 0.00% | 45.24% |
34.12% |
HEX | 7E | A8 | 5C |
Decimal | 126 | 168 | 92 |
Binary | 1111110 | 10101000 | 1011100 |
Octal | 176 | 250 | 134 |
Examples of css and html codes for elements with #7EA85C color. Also use rgb(126,168,92) instead hex code.
.myTextColor { color: #7EA85C; }
<p style="color:#7EA85C">This sample text font color is #7EA85C.</p>
This text font color is #7EA85C.
.myBgColor { background-color: #7EA85C; }
<div style="background-color:#7EA85C">Inner text</div>
This div background color is #7EA85C.
.myBorderColor { border: 1px solid #7EA85C; }
<div style="border:3px solid #7EA85C">Div</div>
This div border color is #7EA85C.
.myOpacity80 { color: #7EA85C; opacity: 0.8; }
<p style="color:#7EA85C;opacity:0.8;">80%</p>
Text with #7EA85C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EA85C;}
<p style="text-shadow: 3px 3px 1px #7EA85C">Text here.</p>
This text has shadow with #7EA85C color.
.textShadow {text-shadow: 3px 3px 1px #7EA85C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EA85C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EA85C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EA85C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EA85C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EA85C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EA85C; -webkit-box-shadow: 1px 1px 3px 2px #7EA85C; box-shadow: 1px 1px 3px 2px #7EA85C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EA85C; -webkit-box-shadow: 1px 1px 3px 2px #7EA85C; box-shadow:1px 1px 3px 2px #7EA85C;">
Div content here</div>
This text has color #7EA85C on black background.
This text has color #7EA85C on white background.
This text has black color on #7EA85C background.
This text has white color on #7EA85C background.