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