HEX: #7E856F
RGB: (126,133,111)
#7E856F contains red, green and blue colors in about the same proportion. Web safe color of #7E856F is #669966 (or #696).
#7E856F color RGB value is (126,133,111).
RGB: (126,133,111) (49%,52%,44%)
R 126 of 255 = 49%
G 133 of 255 = 52%
B 111 of 255 = 44%
R + G + B ~ 48%. #7E856F is middle color (not dark and not light).
R + G + B =
126 + 133 + 111 = 370 (100%)
R 126 of 370 ~ 34.05%
G 133 of 370 ~ 35.95%
B 111 of 370 ~ 30%
#7E856F color CMYK value is (5,0,17,48).
CMYK: (5,0,17,48) C5M0Y17K48 (5%,0%,17%,48%) (0.05/0.00/0.17/0.48)
7E | 85 | 6F | |
---|---|---|---|
RGB | 126 | 133 | 111 |
HSL | 79° | 9.02% | 47.84% |
HSB/HSV | 79° | 16.54% | 52.16% |
CMYK | 5.26% | 0.00% | 16.54% |
47.84% |
HEX | 7E | 85 | 6F |
Decimal | 126 | 133 | 111 |
Binary | 1111110 | 10000101 | 1101111 |
Octal | 176 | 205 | 157 |
Examples of css and html codes for elements with #7E856F color. Also use rgb(126,133,111) instead hex code.
.myTextColor { color: #7E856F; }
<p style="color:#7E856F">This sample text font color is #7E856F.</p>
This text font color is #7E856F.
.myBgColor { background-color: #7E856F; }
<div style="background-color:#7E856F">Inner text</div>
This div background color is #7E856F.
.myBorderColor { border: 1px solid #7E856F; }
<div style="border:3px solid #7E856F">Div</div>
This div border color is #7E856F.
.myOpacity80 { color: #7E856F; opacity: 0.8; }
<p style="color:#7E856F;opacity:0.8;">80%</p>
Text with #7E856F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E856F;}
<p style="text-shadow: 3px 3px 1px #7E856F">Text here.</p>
This text has shadow with #7E856F color.
.textShadow {text-shadow: 3px 3px 1px #7E856F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E856F, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E856F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E856F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E856F, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E856F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E856F; -webkit-box-shadow: 1px 1px 3px 2px #7E856F; box-shadow: 1px 1px 3px 2px #7E856F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E856F; -webkit-box-shadow: 1px 1px 3px 2px #7E856F; box-shadow:1px 1px 3px 2px #7E856F;">
Div content here</div>
This text has color #7E856F on black background.
This text has color #7E856F on white background.
This text has black color on #7E856F background.
This text has white color on #7E856F background.