HEX: #7EA45C
RGB: (126,164,92)
#7EA45C contains mainly red and green colors. Web safe color of #7EA45C is #669966 (or #696).
#7EA45C color RGB value is (126,164,92).
RGB: (126,164,92) (49%,64%,36%)
R 126 of 255 = 49%
G 164 of 255 = 64%
B 92 of 255 = 36%
R + G + B ~ 50%. #7EA45C is middle color (not dark and not light).
R + G + B =
126 + 164 + 92 = 382 (100%)
R 126 of 382 ~ 32.98%
G 164 of 382 ~ 42.93%
B 92 of 382 ~ 24.08%
#7EA45C color CMYK value is (23,0,44,36).
CMYK: (23,0,44,36) C23M0Y44K36 (23%,0%,44%,36%) (0.23/0.00/0.44/0.36)
7E | A4 | 5C | |
---|---|---|---|
RGB | 126 | 164 | 92 |
HSL | 92° | 28.35% | 50.20% |
HSB/HSV | 92° | 43.90% | 64.31% |
CMYK | 23.17% | 0.00% | 43.90% |
35.69% |
HEX | 7E | A4 | 5C |
Decimal | 126 | 164 | 92 |
Binary | 1111110 | 10100100 | 1011100 |
Octal | 176 | 244 | 134 |
Examples of css and html codes for elements with #7EA45C color. Also use rgb(126,164,92) instead hex code.
.myTextColor { color: #7EA45C; }
<p style="color:#7EA45C">This sample text font color is #7EA45C.</p>
This text font color is #7EA45C.
.myBgColor { background-color: #7EA45C; }
<div style="background-color:#7EA45C">Inner text</div>
This div background color is #7EA45C.
.myBorderColor { border: 1px solid #7EA45C; }
<div style="border:3px solid #7EA45C">Div</div>
This div border color is #7EA45C.
.myOpacity80 { color: #7EA45C; opacity: 0.8; }
<p style="color:#7EA45C;opacity:0.8;">80%</p>
Text with #7EA45C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EA45C;}
<p style="text-shadow: 3px 3px 1px #7EA45C">Text here.</p>
This text has shadow with #7EA45C color.
.textShadow {text-shadow: 3px 3px 1px #7EA45C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EA45C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EA45C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EA45C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EA45C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EA45C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EA45C; -webkit-box-shadow: 1px 1px 3px 2px #7EA45C; box-shadow: 1px 1px 3px 2px #7EA45C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EA45C; -webkit-box-shadow: 1px 1px 3px 2px #7EA45C; box-shadow:1px 1px 3px 2px #7EA45C;">
Div content here</div>
This text has color #7EA45C on black background.
This text has color #7EA45C on white background.
This text has black color on #7EA45C background.
This text has white color on #7EA45C background.