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