HEX: #7E748E
RGB: (126,116,142)
#7E748E contains red, green and blue colors in about the same proportion. Web safe color of #7E748E is #666699 (or #669).
#7E748E color RGB value is (126,116,142).
RGB: (126,116,142) (49%,45%,56%)
R 126 of 255 = 49%
G 116 of 255 = 45%
B 142 of 255 = 56%
R + G + B ~ 50%. #7E748E is middle color (not dark and not light).
R + G + B =
126 + 116 + 142 = 384 (100%)
R 126 of 384 ~ 32.81%
G 116 of 384 ~ 30.21%
B 142 of 384 ~ 36.98%
#7E748E color CMYK value is (11,18,0,44).
CMYK: (11,18,0,44) C11M18Y0K44 (11%,18%,0%,44%) (0.11/0.18/0.00/0.44)
7E | 74 | 8E | |
---|---|---|---|
RGB | 126 | 116 | 142 |
HSL | 263° | 10.32% | 50.59% |
HSB/HSV | 263° | 18.31% | 55.69% |
CMYK | 11.27% | 18.31% | 0.00% |
44.31% |
HEX | 7E | 74 | 8E |
Decimal | 126 | 116 | 142 |
Binary | 1111110 | 1110100 | 10001110 |
Octal | 176 | 164 | 216 |
Examples of css and html codes for elements with #7E748E color. Also use rgb(126,116,142) instead hex code.
.myTextColor { color: #7E748E; }
<p style="color:#7E748E">This sample text font color is #7E748E.</p>
This text font color is #7E748E.
.myBgColor { background-color: #7E748E; }
<div style="background-color:#7E748E">Inner text</div>
This div background color is #7E748E.
.myBorderColor { border: 1px solid #7E748E; }
<div style="border:3px solid #7E748E">Div</div>
This div border color is #7E748E.
.myOpacity80 { color: #7E748E; opacity: 0.8; }
<p style="color:#7E748E;opacity:0.8;">80%</p>
Text with #7E748E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E748E;}
<p style="text-shadow: 3px 3px 1px #7E748E">Text here.</p>
This text has shadow with #7E748E color.
.textShadow {text-shadow: 3px 3px 1px #7E748E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E748E, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E748E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E748E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E748E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E748E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E748E; -webkit-box-shadow: 1px 1px 3px 2px #7E748E; box-shadow: 1px 1px 3px 2px #7E748E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E748E; -webkit-box-shadow: 1px 1px 3px 2px #7E748E; box-shadow:1px 1px 3px 2px #7E748E;">
Div content here</div>
This text has color #7E748E on black background.
This text has color #7E748E on white background.
This text has black color on #7E748E background.
This text has white color on #7E748E background.