HEX: #7FD97F
RGB: (127,217,127)
#7FD97F contains mainly green color. Web safe color of #7FD97F is #66CC66 (or #6C6).
#7FD97F color RGB value is (127,217,127).
RGB: (127,217,127) (50%,85%,50%)
R 127 of 255 = 50%
G 217 of 255 = 85%
B 127 of 255 = 50%
R + G + B ~ 62%. #7FD97F is quite light color.
R + G + B =
127 + 217 + 127 = 471 (100%)
R 127 of 471 ~ 26.96%
G 217 of 471 ~ 46.07%
B 127 of 471 ~ 26.96%
#7FD97F color CMYK value is (41,0,41,15).
CMYK: (41,0,41,15) C41M0Y41K15 (41%,0%,41%,15%) (0.41/0.00/0.41/0.15)
7F | D9 | 7F | |
---|---|---|---|
RGB | 127 | 217 | 127 |
HSL | 120° | 54.22% | 67.45% |
HSB/HSV | 120° | 41.47% | 85.10% |
CMYK | 41.47% | 0.00% | 41.47% |
14.90% |
HEX | 7F | D9 | 7F |
Decimal | 127 | 217 | 127 |
Binary | 1111111 | 11011001 | 1111111 |
Octal | 177 | 331 | 177 |
Examples of css and html codes for elements with #7FD97F color. Also use rgb(127,217,127) instead hex code.
.myTextColor { color: #7FD97F; }
<p style="color:#7FD97F">This sample text font color is #7FD97F.</p>
This text font color is #7FD97F.
.myBgColor { background-color: #7FD97F; }
<div style="background-color:#7FD97F">Inner text</div>
This div background color is #7FD97F.
.myBorderColor { border: 1px solid #7FD97F; }
<div style="border:3px solid #7FD97F">Div</div>
This div border color is #7FD97F.
.myOpacity80 { color: #7FD97F; opacity: 0.8; }
<p style="color:#7FD97F;opacity:0.8;">80%</p>
Text with #7FD97F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7FD97F;}
<p style="text-shadow: 3px 3px 1px #7FD97F">Text here.</p>
This text has shadow with #7FD97F color.
.textShadow {text-shadow: 3px 3px 1px #7FD97F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7FD97F, 5px 5px 20px red">Text here.</p>
This text has shadow with #7FD97F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7FD97F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7FD97F, Direction=45, Strength=4)">Text</p>
This text has shadow with #7FD97F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7FD97F; -webkit-box-shadow: 1px 1px 3px 2px #7FD97F; box-shadow: 1px 1px 3px 2px #7FD97F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7FD97F; -webkit-box-shadow: 1px 1px 3px 2px #7FD97F; box-shadow:1px 1px 3px 2px #7FD97F;">
Div content here</div>
This text has color #7FD97F on black background.
This text has color #7FD97F on white background.
This text has black color on #7FD97F background.
This text has white color on #7FD97F background.