HEX: #7E848A
RGB: (126,132,138)
#7E848A contains red, green and blue colors in about the same proportion. Web safe color of #7E848A is #669999 (or #699).
#7E848A color RGB value is (126,132,138).
RGB: (126,132,138) (49%,52%,54%)
R 126 of 255 = 49%
G 132 of 255 = 52%
B 138 of 255 = 54%
R + G + B ~ 52%. #7E848A is middle color (not dark and not light).
R + G + B =
126 + 132 + 138 = 396 (100%)
R 126 of 396 ~ 31.82%
G 132 of 396 ~ 33.33%
B 138 of 396 ~ 34.85%
#7E848A color CMYK value is (9,4,0,46).
CMYK: (9,4,0,46) C9M4Y0K46 (9%,4%,0%,46%) (0.09/0.04/0.00/0.46)
7E | 84 | 8A | |
---|---|---|---|
RGB | 126 | 132 | 138 |
HSL | 210° | 4.88% | 51.76% |
HSB/HSV | 210° | 8.70% | 54.12% |
CMYK | 8.70% | 4.35% | 0.00% |
45.88% |
HEX | 7E | 84 | 8A |
Decimal | 126 | 132 | 138 |
Binary | 1111110 | 10000100 | 10001010 |
Octal | 176 | 204 | 212 |
Examples of css and html codes for elements with #7E848A color. Also use rgb(126,132,138) instead hex code.
.myTextColor { color: #7E848A; }
<p style="color:#7E848A">This sample text font color is #7E848A.</p>
This text font color is #7E848A.
.myBgColor { background-color: #7E848A; }
<div style="background-color:#7E848A">Inner text</div>
This div background color is #7E848A.
.myBorderColor { border: 1px solid #7E848A; }
<div style="border:3px solid #7E848A">Div</div>
This div border color is #7E848A.
.myOpacity80 { color: #7E848A; opacity: 0.8; }
<p style="color:#7E848A;opacity:0.8;">80%</p>
Text with #7E848A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E848A;}
<p style="text-shadow: 3px 3px 1px #7E848A">Text here.</p>
This text has shadow with #7E848A color.
.textShadow {text-shadow: 3px 3px 1px #7E848A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E848A, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E848A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E848A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E848A, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E848A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E848A; -webkit-box-shadow: 1px 1px 3px 2px #7E848A; box-shadow: 1px 1px 3px 2px #7E848A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E848A; -webkit-box-shadow: 1px 1px 3px 2px #7E848A; box-shadow:1px 1px 3px 2px #7E848A;">
Div content here</div>
This text has color #7E848A on black background.
This text has color #7E848A on white background.
This text has black color on #7E848A background.
This text has white color on #7E848A background.