HEX: #7B877F
RGB: (123,135,127)
#7B877F contains red, green and blue colors in about the same proportion. Web safe color of #7B877F is #669966 (or #696).
#7B877F color RGB value is (123,135,127).
RGB: (123,135,127) (48%,53%,50%)
R 123 of 255 = 48%
G 135 of 255 = 53%
B 127 of 255 = 50%
R + G + B ~ 50%. #7B877F is middle color (not dark and not light).
R + G + B =
123 + 135 + 127 = 385 (100%)
R 123 of 385 ~ 31.95%
G 135 of 385 ~ 35.06%
B 127 of 385 ~ 32.99%
#7B877F color CMYK value is (9,0,6,47).
CMYK: (9,0,6,47) C9M0Y6K47 (9%,0%,6%,47%) (0.09/0.00/0.06/0.47)
7B | 87 | 7F | |
---|---|---|---|
RGB | 123 | 135 | 127 |
HSL | 140° | 4.76% | 50.59% |
HSB/HSV | 140° | 8.89% | 52.94% |
CMYK | 8.89% | 0.00% | 5.93% |
47.06% |
HEX | 7B | 87 | 7F |
Decimal | 123 | 135 | 127 |
Binary | 1111011 | 10000111 | 1111111 |
Octal | 173 | 207 | 177 |
Examples of css and html codes for elements with #7B877F color. Also use rgb(123,135,127) instead hex code.
.myTextColor { color: #7B877F; }
<p style="color:#7B877F">This sample text font color is #7B877F.</p>
This text font color is #7B877F.
.myBgColor { background-color: #7B877F; }
<div style="background-color:#7B877F">Inner text</div>
This div background color is #7B877F.
.myBorderColor { border: 1px solid #7B877F; }
<div style="border:3px solid #7B877F">Div</div>
This div border color is #7B877F.
.myOpacity80 { color: #7B877F; opacity: 0.8; }
<p style="color:#7B877F;opacity:0.8;">80%</p>
Text with #7B877F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B877F;}
<p style="text-shadow: 3px 3px 1px #7B877F">Text here.</p>
This text has shadow with #7B877F color.
.textShadow {text-shadow: 3px 3px 1px #7B877F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B877F, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B877F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B877F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B877F, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B877F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B877F; -webkit-box-shadow: 1px 1px 3px 2px #7B877F; box-shadow: 1px 1px 3px 2px #7B877F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B877F; -webkit-box-shadow: 1px 1px 3px 2px #7B877F; box-shadow:1px 1px 3px 2px #7B877F;">
Div content here</div>
This text has color #7B877F on black background.
This text has color #7B877F on white background.
This text has black color on #7B877F background.
This text has white color on #7B877F background.