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