HEX: #7C727E
RGB: (124,114,126)
#7C727E contains red, green and blue colors in about the same proportion. Web safe color of #7C727E is #666666 (or #666).
#7C727E color RGB value is (124,114,126).
RGB: (124,114,126) (49%,45%,49%)
R 124 of 255 = 49%
G 114 of 255 = 45%
B 126 of 255 = 49%
R + G + B ~ 48%. #7C727E is middle color (not dark and not light).
R + G + B =
124 + 114 + 126 = 364 (100%)
R 124 of 364 ~ 34.07%
G 114 of 364 ~ 31.32%
B 126 of 364 ~ 34.62%
#7C727E color CMYK value is (2,10,0,51).
CMYK: (2,10,0,51) C2M10Y0K51 (2%,10%,0%,51%) (0.02/0.10/0.00/0.51)
7C | 72 | 7E | |
---|---|---|---|
RGB | 124 | 114 | 126 |
HSL | 290° | 5.00% | 47.06% |
HSB/HSV | 290° | 9.52% | 49.41% |
CMYK | 1.59% | 9.52% | 0.00% |
50.59% |
HEX | 7C | 72 | 7E |
Decimal | 124 | 114 | 126 |
Binary | 1111100 | 1110010 | 1111110 |
Octal | 174 | 162 | 176 |
Examples of css and html codes for elements with #7C727E color. Also use rgb(124,114,126) instead hex code.
.myTextColor { color: #7C727E; }
<p style="color:#7C727E">This sample text font color is #7C727E.</p>
This text font color is #7C727E.
.myBgColor { background-color: #7C727E; }
<div style="background-color:#7C727E">Inner text</div>
This div background color is #7C727E.
.myBorderColor { border: 1px solid #7C727E; }
<div style="border:3px solid #7C727E">Div</div>
This div border color is #7C727E.
.myOpacity80 { color: #7C727E; opacity: 0.8; }
<p style="color:#7C727E;opacity:0.8;">80%</p>
Text with #7C727E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C727E;}
<p style="text-shadow: 3px 3px 1px #7C727E">Text here.</p>
This text has shadow with #7C727E color.
.textShadow {text-shadow: 3px 3px 1px #7C727E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C727E, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C727E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C727E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C727E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C727E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C727E; -webkit-box-shadow: 1px 1px 3px 2px #7C727E; box-shadow: 1px 1px 3px 2px #7C727E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C727E; -webkit-box-shadow: 1px 1px 3px 2px #7C727E; box-shadow:1px 1px 3px 2px #7C727E;">
Div content here</div>
This text has color #7C727E on black background.
This text has color #7C727E on white background.
This text has black color on #7C727E background.
This text has white color on #7C727E background.