HEX: #7EC174
RGB: (126,193,116)
#7EC174 contains mainly green color. Web safe color of #7EC174 is #66CC66 (or #6C6).
#7EC174 color RGB value is (126,193,116).
RGB: (126,193,116) (49%,76%,45%)
R 126 of 255 = 49%
G 193 of 255 = 76%
B 116 of 255 = 45%
R + G + B ~ 57%. #7EC174 is middle color (not dark and not light).
R + G + B =
126 + 193 + 116 = 435 (100%)
R 126 of 435 ~ 28.97%
G 193 of 435 ~ 44.37%
B 116 of 435 ~ 26.67%
#7EC174 color CMYK value is (35,0,40,24).
CMYK: (35,0,40,24) C35M0Y40K24 (35%,0%,40%,24%) (0.35/0.00/0.40/0.24)
7E | C1 | 74 | |
---|---|---|---|
RGB | 126 | 193 | 116 |
HSL | 112° | 38.31% | 60.59% |
HSB/HSV | 112° | 39.90% | 75.69% |
CMYK | 34.72% | 0.00% | 39.90% |
24.31% |
HEX | 7E | C1 | 74 |
Decimal | 126 | 193 | 116 |
Binary | 1111110 | 11000001 | 1110100 |
Octal | 176 | 301 | 164 |
Examples of css and html codes for elements with #7EC174 color. Also use rgb(126,193,116) instead hex code.
.myTextColor { color: #7EC174; }
<p style="color:#7EC174">This sample text font color is #7EC174.</p>
This text font color is #7EC174.
.myBgColor { background-color: #7EC174; }
<div style="background-color:#7EC174">Inner text</div>
This div background color is #7EC174.
.myBorderColor { border: 1px solid #7EC174; }
<div style="border:3px solid #7EC174">Div</div>
This div border color is #7EC174.
.myOpacity80 { color: #7EC174; opacity: 0.8; }
<p style="color:#7EC174;opacity:0.8;">80%</p>
Text with #7EC174 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EC174;}
<p style="text-shadow: 3px 3px 1px #7EC174">Text here.</p>
This text has shadow with #7EC174 color.
.textShadow {text-shadow: 3px 3px 1px #7EC174, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EC174, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EC174 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EC174, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EC174, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EC174 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EC174; -webkit-box-shadow: 1px 1px 3px 2px #7EC174; box-shadow: 1px 1px 3px 2px #7EC174; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EC174; -webkit-box-shadow: 1px 1px 3px 2px #7EC174; box-shadow:1px 1px 3px 2px #7EC174;">
Div content here</div>
This text has color #7EC174 on black background.
This text has color #7EC174 on white background.
This text has black color on #7EC174 background.
This text has white color on #7EC174 background.