HEX: #7E8CAB
RGB: (126,140,171)
#7E8CAB contains red, green and blue colors in about the same proportion. Web safe color of #7E8CAB is #669999 (or #699).
#7E8CAB color RGB value is (126,140,171).
RGB: (126,140,171) (49%,55%,67%)
R 126 of 255 = 49%
G 140 of 255 = 55%
B 171 of 255 = 67%
R + G + B ~ 57%. #7E8CAB is middle color (not dark and not light).
R + G + B =
126 + 140 + 171 = 437 (100%)
R 126 of 437 ~ 28.83%
G 140 of 437 ~ 32.04%
B 171 of 437 ~ 39.13%
#7E8CAB color CMYK value is (26,18,0,33).
CMYK: (26,18,0,33) C26M18Y0K33 (26%,18%,0%,33%) (0.26/0.18/0.00/0.33)
7E | 8C | AB | |
---|---|---|---|
RGB | 126 | 140 | 171 |
HSL | 221° | 21.13% | 58.24% |
HSB/HSV | 221° | 26.32% | 67.06% |
CMYK | 26.32% | 18.13% | 0.00% |
32.94% |
HEX | 7E | 8C | AB |
Decimal | 126 | 140 | 171 |
Binary | 1111110 | 10001100 | 10101011 |
Octal | 176 | 214 | 253 |
Examples of css and html codes for elements with #7E8CAB color. Also use rgb(126,140,171) instead hex code.
.myTextColor { color: #7E8CAB; }
<p style="color:#7E8CAB">This sample text font color is #7E8CAB.</p>
This text font color is #7E8CAB.
.myBgColor { background-color: #7E8CAB; }
<div style="background-color:#7E8CAB">Inner text</div>
This div background color is #7E8CAB.
.myBorderColor { border: 1px solid #7E8CAB; }
<div style="border:3px solid #7E8CAB">Div</div>
This div border color is #7E8CAB.
.myOpacity80 { color: #7E8CAB; opacity: 0.8; }
<p style="color:#7E8CAB;opacity:0.8;">80%</p>
Text with #7E8CAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E8CAB;}
<p style="text-shadow: 3px 3px 1px #7E8CAB">Text here.</p>
This text has shadow with #7E8CAB color.
.textShadow {text-shadow: 3px 3px 1px #7E8CAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E8CAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E8CAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E8CAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E8CAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E8CAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E8CAB; -webkit-box-shadow: 1px 1px 3px 2px #7E8CAB; box-shadow: 1px 1px 3px 2px #7E8CAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E8CAB; -webkit-box-shadow: 1px 1px 3px 2px #7E8CAB; box-shadow:1px 1px 3px 2px #7E8CAB;">
Div content here</div>
This text has color #7E8CAB on black background.
This text has color #7E8CAB on white background.
This text has black color on #7E8CAB background.
This text has white color on #7E8CAB background.