HEX: #7FB97B
RGB: (127,185,123)
#7FB97B contains mainly red and green colors. Web safe color of #7FB97B is #66CC66 (or #6C6).
#7FB97B color RGB value is (127,185,123).
RGB: (127,185,123) (50%,73%,48%)
R 127 of 255 = 50%
G 185 of 255 = 73%
B 123 of 255 = 48%
R + G + B ~ 57%. #7FB97B is middle color (not dark and not light).
R + G + B =
127 + 185 + 123 = 435 (100%)
R 127 of 435 ~ 29.2%
G 185 of 435 ~ 42.53%
B 123 of 435 ~ 28.28%
#7FB97B color CMYK value is (31,0,34,27).
CMYK: (31,0,34,27) C31M0Y34K27 (31%,0%,34%,27%) (0.31/0.00/0.34/0.27)
7F | B9 | 7B | |
---|---|---|---|
RGB | 127 | 185 | 123 |
HSL | 116° | 30.69% | 60.39% |
HSB/HSV | 116° | 33.51% | 72.55% |
CMYK | 31.35% | 0.00% | 33.51% |
27.45% |
HEX | 7F | B9 | 7B |
Decimal | 127 | 185 | 123 |
Binary | 1111111 | 10111001 | 1111011 |
Octal | 177 | 271 | 173 |
Examples of css and html codes for elements with #7FB97B color. Also use rgb(127,185,123) instead hex code.
.myTextColor { color: #7FB97B; }
<p style="color:#7FB97B">This sample text font color is #7FB97B.</p>
This text font color is #7FB97B.
.myBgColor { background-color: #7FB97B; }
<div style="background-color:#7FB97B">Inner text</div>
This div background color is #7FB97B.
.myBorderColor { border: 1px solid #7FB97B; }
<div style="border:3px solid #7FB97B">Div</div>
This div border color is #7FB97B.
.myOpacity80 { color: #7FB97B; opacity: 0.8; }
<p style="color:#7FB97B;opacity:0.8;">80%</p>
Text with #7FB97B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7FB97B;}
<p style="text-shadow: 3px 3px 1px #7FB97B">Text here.</p>
This text has shadow with #7FB97B color.
.textShadow {text-shadow: 3px 3px 1px #7FB97B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7FB97B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7FB97B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7FB97B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7FB97B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7FB97B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7FB97B; -webkit-box-shadow: 1px 1px 3px 2px #7FB97B; box-shadow: 1px 1px 3px 2px #7FB97B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7FB97B; -webkit-box-shadow: 1px 1px 3px 2px #7FB97B; box-shadow:1px 1px 3px 2px #7FB97B;">
Div content here</div>
This text has color #7FB97B on black background.
This text has color #7FB97B on white background.
This text has black color on #7FB97B background.
This text has white color on #7FB97B background.