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