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