HEX: #7E8975
RGB: (126,137,117)
#7E8975 contains red, green and blue colors in about the same proportion. Web safe color of #7E8975 is #669966 (or #696).
#7E8975 color RGB value is (126,137,117).
RGB: (126,137,117) (49%,54%,46%)
R 126 of 255 = 49%
G 137 of 255 = 54%
B 117 of 255 = 46%
R + G + B ~ 50%. #7E8975 is middle color (not dark and not light).
R + G + B =
126 + 137 + 117 = 380 (100%)
R 126 of 380 ~ 33.16%
G 137 of 380 ~ 36.05%
B 117 of 380 ~ 30.79%
#7E8975 color CMYK value is (8,0,15,46).
CMYK: (8,0,15,46) C8M0Y15K46 (8%,0%,15%,46%) (0.08/0.00/0.15/0.46)
7E | 89 | 75 | |
---|---|---|---|
RGB | 126 | 137 | 117 |
HSL | 93° | 7.87% | 49.80% |
HSB/HSV | 93° | 14.60% | 53.73% |
CMYK | 8.03% | 0.00% | 14.60% |
46.27% |
HEX | 7E | 89 | 75 |
Decimal | 126 | 137 | 117 |
Binary | 1111110 | 10001001 | 1110101 |
Octal | 176 | 211 | 165 |
Examples of css and html codes for elements with #7E8975 color. Also use rgb(126,137,117) instead hex code.
.myTextColor { color: #7E8975; }
<p style="color:#7E8975">This sample text font color is #7E8975.</p>
This text font color is #7E8975.
.myBgColor { background-color: #7E8975; }
<div style="background-color:#7E8975">Inner text</div>
This div background color is #7E8975.
.myBorderColor { border: 1px solid #7E8975; }
<div style="border:3px solid #7E8975">Div</div>
This div border color is #7E8975.
.myOpacity80 { color: #7E8975; opacity: 0.8; }
<p style="color:#7E8975;opacity:0.8;">80%</p>
Text with #7E8975 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E8975;}
<p style="text-shadow: 3px 3px 1px #7E8975">Text here.</p>
This text has shadow with #7E8975 color.
.textShadow {text-shadow: 3px 3px 1px #7E8975, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E8975, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E8975 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E8975, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E8975, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E8975 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E8975; -webkit-box-shadow: 1px 1px 3px 2px #7E8975; box-shadow: 1px 1px 3px 2px #7E8975; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E8975; -webkit-box-shadow: 1px 1px 3px 2px #7E8975; box-shadow:1px 1px 3px 2px #7E8975;">
Div content here</div>
This text has color #7E8975 on black background.
This text has color #7E8975 on white background.
This text has black color on #7E8975 background.
This text has white color on #7E8975 background.