HEX: #7E8DAF
RGB: (126,141,175)
#7E8DAF contains red, green and blue colors in about the same proportion. Web safe color of #7E8DAF is #669999 (or #699).
#7E8DAF color RGB value is (126,141,175).
RGB: (126,141,175) (49%,55%,69%)
R 126 of 255 = 49%
G 141 of 255 = 55%
B 175 of 255 = 69%
R + G + B ~ 58%. #7E8DAF is middle color (not dark and not light).
R + G + B =
126 + 141 + 175 = 442 (100%)
R 126 of 442 ~ 28.51%
G 141 of 442 ~ 31.9%
B 175 of 442 ~ 39.59%
#7E8DAF color CMYK value is (28,19,0,31).
CMYK: (28,19,0,31) C28M19Y0K31 (28%,19%,0%,31%) (0.28/0.19/0.00/0.31)
7E | 8D | AF | |
---|---|---|---|
RGB | 126 | 141 | 175 |
HSL | 222° | 23.44% | 59.02% |
HSB/HSV | 222° | 28.00% | 68.63% |
CMYK | 28.00% | 19.43% | 0.00% |
31.37% |
HEX | 7E | 8D | AF |
Decimal | 126 | 141 | 175 |
Binary | 1111110 | 10001101 | 10101111 |
Octal | 176 | 215 | 257 |
Examples of css and html codes for elements with #7E8DAF color. Also use rgb(126,141,175) instead hex code.
.myTextColor { color: #7E8DAF; }
<p style="color:#7E8DAF">This sample text font color is #7E8DAF.</p>
This text font color is #7E8DAF.
.myBgColor { background-color: #7E8DAF; }
<div style="background-color:#7E8DAF">Inner text</div>
This div background color is #7E8DAF.
.myBorderColor { border: 1px solid #7E8DAF; }
<div style="border:3px solid #7E8DAF">Div</div>
This div border color is #7E8DAF.
.myOpacity80 { color: #7E8DAF; opacity: 0.8; }
<p style="color:#7E8DAF;opacity:0.8;">80%</p>
Text with #7E8DAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E8DAF;}
<p style="text-shadow: 3px 3px 1px #7E8DAF">Text here.</p>
This text has shadow with #7E8DAF color.
.textShadow {text-shadow: 3px 3px 1px #7E8DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E8DAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E8DAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E8DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E8DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E8DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E8DAF; -webkit-box-shadow: 1px 1px 3px 2px #7E8DAF; box-shadow: 1px 1px 3px 2px #7E8DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E8DAF; -webkit-box-shadow: 1px 1px 3px 2px #7E8DAF; box-shadow:1px 1px 3px 2px #7E8DAF;">
Div content here</div>
This text has color #7E8DAF on black background.
This text has color #7E8DAF on white background.
This text has black color on #7E8DAF background.
This text has white color on #7E8DAF background.