HEX: #7E8ABB
RGB: (126,138,187)
#7E8ABB contains mainly green and blue colors. Web safe color of #7E8ABB is #6699CC (or #69C).
#7E8ABB color RGB value is (126,138,187).
RGB: (126,138,187) (49%,54%,73%)
R 126 of 255 = 49%
G 138 of 255 = 54%
B 187 of 255 = 73%
R + G + B ~ 59%. #7E8ABB is middle color (not dark and not light).
R + G + B =
126 + 138 + 187 = 451 (100%)
R 126 of 451 ~ 27.94%
G 138 of 451 ~ 30.6%
B 187 of 451 ~ 41.46%
#7E8ABB color CMYK value is (33,26,0,27).
CMYK: (33,26,0,27) C33M26Y0K27 (33%,26%,0%,27%) (0.33/0.26/0.00/0.27)
7E | 8A | BB | |
---|---|---|---|
RGB | 126 | 138 | 187 |
HSL | 228° | 30.96% | 61.37% |
HSB/HSV | 228° | 32.62% | 73.33% |
CMYK | 32.62% | 26.20% | 0.00% |
26.67% |
HEX | 7E | 8A | BB |
Decimal | 126 | 138 | 187 |
Binary | 1111110 | 10001010 | 10111011 |
Octal | 176 | 212 | 273 |
Examples of css and html codes for elements with #7E8ABB color. Also use rgb(126,138,187) instead hex code.
.myTextColor { color: #7E8ABB; }
<p style="color:#7E8ABB">This sample text font color is #7E8ABB.</p>
This text font color is #7E8ABB.
.myBgColor { background-color: #7E8ABB; }
<div style="background-color:#7E8ABB">Inner text</div>
This div background color is #7E8ABB.
.myBorderColor { border: 1px solid #7E8ABB; }
<div style="border:3px solid #7E8ABB">Div</div>
This div border color is #7E8ABB.
.myOpacity80 { color: #7E8ABB; opacity: 0.8; }
<p style="color:#7E8ABB;opacity:0.8;">80%</p>
Text with #7E8ABB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E8ABB;}
<p style="text-shadow: 3px 3px 1px #7E8ABB">Text here.</p>
This text has shadow with #7E8ABB color.
.textShadow {text-shadow: 3px 3px 1px #7E8ABB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E8ABB, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E8ABB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E8ABB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E8ABB, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E8ABB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E8ABB; -webkit-box-shadow: 1px 1px 3px 2px #7E8ABB; box-shadow: 1px 1px 3px 2px #7E8ABB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E8ABB; -webkit-box-shadow: 1px 1px 3px 2px #7E8ABB; box-shadow:1px 1px 3px 2px #7E8ABB;">
Div content here</div>
This text has color #7E8ABB on black background.
This text has color #7E8ABB on white background.
This text has black color on #7E8ABB background.
This text has white color on #7E8ABB background.