HEX: #7EB960
RGB: (126,185,96)
#7EB960 contains mainly red and green colors. Web safe color of #7EB960 is #66CC66 (or #6C6).
#7EB960 color RGB value is (126,185,96).
RGB: (126,185,96) (49%,73%,38%)
R 126 of 255 = 49%
G 185 of 255 = 73%
B 96 of 255 = 38%
R + G + B ~ 53%. #7EB960 is middle color (not dark and not light).
R + G + B =
126 + 185 + 96 = 407 (100%)
R 126 of 407 ~ 30.96%
G 185 of 407 ~ 45.45%
B 96 of 407 ~ 23.59%
#7EB960 color CMYK value is (32,0,48,27).
CMYK: (32,0,48,27) C32M0Y48K27 (32%,0%,48%,27%) (0.32/0.00/0.48/0.27)
7E | B9 | 60 | |
---|---|---|---|
RGB | 126 | 185 | 96 |
HSL | 100° | 38.86% | 55.10% |
HSB/HSV | 100° | 48.11% | 72.55% |
CMYK | 31.89% | 0.00% | 48.11% |
27.45% |
HEX | 7E | B9 | 60 |
Decimal | 126 | 185 | 96 |
Binary | 1111110 | 10111001 | 1100000 |
Octal | 176 | 271 | 140 |
Examples of css and html codes for elements with #7EB960 color. Also use rgb(126,185,96) instead hex code.
.myTextColor { color: #7EB960; }
<p style="color:#7EB960">This sample text font color is #7EB960.</p>
This text font color is #7EB960.
.myBgColor { background-color: #7EB960; }
<div style="background-color:#7EB960">Inner text</div>
This div background color is #7EB960.
.myBorderColor { border: 1px solid #7EB960; }
<div style="border:3px solid #7EB960">Div</div>
This div border color is #7EB960.
.myOpacity80 { color: #7EB960; opacity: 0.8; }
<p style="color:#7EB960;opacity:0.8;">80%</p>
Text with #7EB960 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EB960;}
<p style="text-shadow: 3px 3px 1px #7EB960">Text here.</p>
This text has shadow with #7EB960 color.
.textShadow {text-shadow: 3px 3px 1px #7EB960, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EB960, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EB960 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EB960, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EB960, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EB960 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EB960; -webkit-box-shadow: 1px 1px 3px 2px #7EB960; box-shadow: 1px 1px 3px 2px #7EB960; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EB960; -webkit-box-shadow: 1px 1px 3px 2px #7EB960; box-shadow:1px 1px 3px 2px #7EB960;">
Div content here</div>
This text has color #7EB960 on black background.
This text has color #7EB960 on white background.
This text has black color on #7EB960 background.
This text has white color on #7EB960 background.