HEX: #7EB740
RGB: (126,183,64)
#7EB740 contains mainly red and green colors. Web safe color of #7EB740 is #66CC33 (or #6C3).
#7EB740 color RGB value is (126,183,64).
RGB: (126,183,64) (49%,72%,25%)
R 126 of 255 = 49%
G 183 of 255 = 72%
B 64 of 255 = 25%
R + G + B ~ 49%. #7EB740 is middle color (not dark and not light).
R + G + B =
126 + 183 + 64 = 373 (100%)
R 126 of 373 ~ 33.78%
G 183 of 373 ~ 49.06%
B 64 of 373 ~ 17.16%
#7EB740 color CMYK value is (31,0,65,28).
CMYK: (31,0,65,28) C31M0Y65K28 (31%,0%,65%,28%) (0.31/0.00/0.65/0.28)
7E | B7 | 40 | |
---|---|---|---|
RGB | 126 | 183 | 64 |
HSL | 89° | 48.18% | 48.43% |
HSB/HSV | 89° | 65.03% | 71.76% |
CMYK | 31.15% | 0.00% | 65.03% |
28.24% |
HEX | 7E | B7 | 40 |
Decimal | 126 | 183 | 64 |
Binary | 1111110 | 10110111 | 1000000 |
Octal | 176 | 267 | 100 |
Examples of css and html codes for elements with #7EB740 color. Also use rgb(126,183,64) instead hex code.
.myTextColor { color: #7EB740; }
<p style="color:#7EB740">This sample text font color is #7EB740.</p>
This text font color is #7EB740.
.myBgColor { background-color: #7EB740; }
<div style="background-color:#7EB740">Inner text</div>
This div background color is #7EB740.
.myBorderColor { border: 1px solid #7EB740; }
<div style="border:3px solid #7EB740">Div</div>
This div border color is #7EB740.
.myOpacity80 { color: #7EB740; opacity: 0.8; }
<p style="color:#7EB740;opacity:0.8;">80%</p>
Text with #7EB740 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EB740;}
<p style="text-shadow: 3px 3px 1px #7EB740">Text here.</p>
This text has shadow with #7EB740 color.
.textShadow {text-shadow: 3px 3px 1px #7EB740, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EB740, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EB740 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EB740, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EB740, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EB740 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EB740; -webkit-box-shadow: 1px 1px 3px 2px #7EB740; box-shadow: 1px 1px 3px 2px #7EB740; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EB740; -webkit-box-shadow: 1px 1px 3px 2px #7EB740; box-shadow:1px 1px 3px 2px #7EB740;">
Div content here</div>
This text has color #7EB740 on black background.
This text has color #7EB740 on white background.
This text has black color on #7EB740 background.
This text has white color on #7EB740 background.