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