HEX: #7E7F5D
RGB: (126,127,93)
#7E7F5D contains red, green and blue colors in about the same proportion. Web safe color of #7E7F5D is #666666 (or #666).
#7E7F5D color RGB value is (126,127,93).
RGB: (126,127,93) (49%,50%,36%)
R 126 of 255 = 49%
G 127 of 255 = 50%
B 93 of 255 = 36%
R + G + B ~ 45%. #7E7F5D is middle color (not dark and not light).
R + G + B =
126 + 127 + 93 = 346 (100%)
R 126 of 346 ~ 36.42%
G 127 of 346 ~ 36.71%
B 93 of 346 ~ 26.88%
#7E7F5D color CMYK value is (1,0,27,50).
CMYK: (1,0,27,50) C1M0Y27K50 (1%,0%,27%,50%) (0.01/0.00/0.27/0.50)
7E | 7F | 5D | |
---|---|---|---|
RGB | 126 | 127 | 93 |
HSL | 62° | 15.45% | 43.14% |
HSB/HSV | 62° | 26.77% | 49.80% |
CMYK | 0.79% | 0.00% | 26.77% |
50.20% |
HEX | 7E | 7F | 5D |
Decimal | 126 | 127 | 93 |
Binary | 1111110 | 1111111 | 1011101 |
Octal | 176 | 177 | 135 |
Examples of css and html codes for elements with #7E7F5D color. Also use rgb(126,127,93) instead hex code.
.myTextColor { color: #7E7F5D; }
<p style="color:#7E7F5D">This sample text font color is #7E7F5D.</p>
This text font color is #7E7F5D.
.myBgColor { background-color: #7E7F5D; }
<div style="background-color:#7E7F5D">Inner text</div>
This div background color is #7E7F5D.
.myBorderColor { border: 1px solid #7E7F5D; }
<div style="border:3px solid #7E7F5D">Div</div>
This div border color is #7E7F5D.
.myOpacity80 { color: #7E7F5D; opacity: 0.8; }
<p style="color:#7E7F5D;opacity:0.8;">80%</p>
Text with #7E7F5D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E7F5D;}
<p style="text-shadow: 3px 3px 1px #7E7F5D">Text here.</p>
This text has shadow with #7E7F5D color.
.textShadow {text-shadow: 3px 3px 1px #7E7F5D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E7F5D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E7F5D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E7F5D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E7F5D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E7F5D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E7F5D; -webkit-box-shadow: 1px 1px 3px 2px #7E7F5D; box-shadow: 1px 1px 3px 2px #7E7F5D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E7F5D; -webkit-box-shadow: 1px 1px 3px 2px #7E7F5D; box-shadow:1px 1px 3px 2px #7E7F5D;">
Div content here</div>
This text has color #7E7F5D on black background.
This text has color #7E7F5D on white background.
This text has black color on #7E7F5D background.
This text has white color on #7E7F5D background.