HEX: #7EA050
RGB: (126,160,80)
#7EA050 contains mainly red and green colors. Web safe color of #7EA050 is #669966 (or #696).
#7EA050 color RGB value is (126,160,80).
RGB: (126,160,80) (49%,63%,31%)
R 126 of 255 = 49%
G 160 of 255 = 63%
B 80 of 255 = 31%
R + G + B ~ 48%. #7EA050 is middle color (not dark and not light).
R + G + B =
126 + 160 + 80 = 366 (100%)
R 126 of 366 ~ 34.43%
G 160 of 366 ~ 43.72%
B 80 of 366 ~ 21.86%
#7EA050 color CMYK value is (21,0,50,37).
CMYK: (21,0,50,37) C21M0Y50K37 (21%,0%,50%,37%) (0.21/0.00/0.50/0.37)
7E | A0 | 50 | |
---|---|---|---|
RGB | 126 | 160 | 80 |
HSL | 86° | 33.33% | 47.06% |
HSB/HSV | 86° | 50.00% | 62.75% |
CMYK | 21.25% | 0.00% | 50.00% |
37.25% |
HEX | 7E | A0 | 50 |
Decimal | 126 | 160 | 80 |
Binary | 1111110 | 10100000 | 1010000 |
Octal | 176 | 240 | 120 |
Examples of css and html codes for elements with #7EA050 color. Also use rgb(126,160,80) instead hex code.
.myTextColor { color: #7EA050; }
<p style="color:#7EA050">This sample text font color is #7EA050.</p>
This text font color is #7EA050.
.myBgColor { background-color: #7EA050; }
<div style="background-color:#7EA050">Inner text</div>
This div background color is #7EA050.
.myBorderColor { border: 1px solid #7EA050; }
<div style="border:3px solid #7EA050">Div</div>
This div border color is #7EA050.
.myOpacity80 { color: #7EA050; opacity: 0.8; }
<p style="color:#7EA050;opacity:0.8;">80%</p>
Text with #7EA050 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EA050;}
<p style="text-shadow: 3px 3px 1px #7EA050">Text here.</p>
This text has shadow with #7EA050 color.
.textShadow {text-shadow: 3px 3px 1px #7EA050, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EA050, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EA050 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EA050, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EA050, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EA050 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EA050; -webkit-box-shadow: 1px 1px 3px 2px #7EA050; box-shadow: 1px 1px 3px 2px #7EA050; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EA050; -webkit-box-shadow: 1px 1px 3px 2px #7EA050; box-shadow:1px 1px 3px 2px #7EA050;">
Div content here</div>
This text has color #7EA050 on black background.
This text has color #7EA050 on white background.
This text has black color on #7EA050 background.
This text has white color on #7EA050 background.