HEX: #7E798D
RGB: (126,121,141)
#7E798D contains red, green and blue colors in about the same proportion. Web safe color of #7E798D is #666699 (or #669).
#7E798D color RGB value is (126,121,141).
RGB: (126,121,141)
(49%, 47%, 55%)
R 126 of 255 = 49%
G 121 of 255 = 47%
B 141 of 255 = 55%
R + G + B ~ 50%. #7E798D is middle color (not dark and not light).
R + G + B = 126 + 121 + 141 = 388 (100%)
R 126 of 388 ~ 32.47%
G 121 of 388 ~ 31.19%
B 141 of 388 ~ 36.34'%
#7E798D color CMYK value is (11,14,0,45).
CMYK: (11,14,0,45)
C11M14Y0K45 (11%, 14%, 0%, 45%)
(0.11 / 0.14 / 0.00 / 0.45)
Color #7E798D in popluar color models
7E | 79 | 8D | |
---|---|---|---|
RGB | 126 | 121 | 141 |
HSL | 255° | 8.06% | 51.37% |
HSB/HSV | 255° | 14.18% | 55.29% |
CMYK | 10.64% | 14.18% | 0.00% |
44.71% |
Color #7E798D in popluar number systems.
HEX | 7E | 79 | 8D |
Decimal | 126 | 121 | 141 |
Binary | 1111110 | 1111001 | 10001101 |
Octal | 176 | 171 | 215 |
Shades of #7E798D
Tints of #7E798D
Examples of css and html codes for elements with #7E798D color. Also use rgb(126,121,141) instead hex code.
.myTextColor { color: #7E798D; }
<p style="color:#7E798D">This sample text font color is #7E798D.</p>
This text font color is #7E798D.
.myBgColor { background-color: #7E798D; }
<div style="background-color:#7E798D">Inner text</div>
This div background color is #7E798D.
.myBorderColor { border: 1px solid #7E798D; }
<div style="border:3px solid #7E798D">Div</div>
This div border color is #7E798D.
.myOpacity80 { color: #7E798D; opacity: 0.8; }
<p style="color:#7E798D;opacity:0.8;">80%</p>
Text with #7E798D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E798D;}
<p style="text-shadow: 3px 3px 1px #7E798D">Text here.</p>
This text has shadow with #7E798D color.
.textShadow {text-shadow: 3px 3px 1px #7E798D', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E798D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E798D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E798D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E798D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E798D and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #7E798D;
-webkit-box-shadow: 1px 1px 3px 2px #7E798D;
box-shadow: 1px 1px 3px 2px #7E798D;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7E798D; -webkit-box-shadow: 1px 1px 3px 2px #7E798D; box-shadow:1px 1px 3px 2px #7E798D;">
Div content here
</div>
This text has color #7E798D on black background.
This text has color #7E798D on white background.
This text has black color on #7E798D background.
This text has white color on #7E798D background.
Complementary color for #hex is #818672.