HEX: #7E87BC
RGB: (126,135,188)
#7E87BC contains mainly green and blue colors. Web safe color of #7E87BC is #6699CC (or #69C).
#7E87BC color RGB value is (126,135,188).
RGB: (126,135,188) (49%,53%,74%)
R 126 of 255 = 49%
G 135 of 255 = 53%
B 188 of 255 = 74%
R + G + B ~ 59%. #7E87BC is middle color (not dark and not light).
R + G + B =
126 + 135 + 188 = 449 (100%)
R 126 of 449 ~ 28.06%
G 135 of 449 ~ 30.07%
B 188 of 449 ~ 41.87%
#7E87BC color CMYK value is (33,28,0,26).
CMYK: (33,28,0,26) C33M28Y0K26 (33%,28%,0%,26%) (0.33/0.28/0.00/0.26)
7E | 87 | BC | |
---|---|---|---|
RGB | 126 | 135 | 188 |
HSL | 231° | 31.63% | 61.57% |
HSB/HSV | 231° | 32.98% | 73.73% |
CMYK | 32.98% | 28.19% | 0.00% |
26.27% |
HEX | 7E | 87 | BC |
Decimal | 126 | 135 | 188 |
Binary | 1111110 | 10000111 | 10111100 |
Octal | 176 | 207 | 274 |
Examples of css and html codes for elements with #7E87BC color. Also use rgb(126,135,188) instead hex code.
.myTextColor { color: #7E87BC; }
<p style="color:#7E87BC">This sample text font color is #7E87BC.</p>
This text font color is #7E87BC.
.myBgColor { background-color: #7E87BC; }
<div style="background-color:#7E87BC">Inner text</div>
This div background color is #7E87BC.
.myBorderColor { border: 1px solid #7E87BC; }
<div style="border:3px solid #7E87BC">Div</div>
This div border color is #7E87BC.
.myOpacity80 { color: #7E87BC; opacity: 0.8; }
<p style="color:#7E87BC;opacity:0.8;">80%</p>
Text with #7E87BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E87BC;}
<p style="text-shadow: 3px 3px 1px #7E87BC">Text here.</p>
This text has shadow with #7E87BC color.
.textShadow {text-shadow: 3px 3px 1px #7E87BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E87BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E87BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E87BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E87BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E87BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E87BC; -webkit-box-shadow: 1px 1px 3px 2px #7E87BC; box-shadow: 1px 1px 3px 2px #7E87BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E87BC; -webkit-box-shadow: 1px 1px 3px 2px #7E87BC; box-shadow:1px 1px 3px 2px #7E87BC;">
Div content here</div>
This text has color #7E87BC on black background.
This text has color #7E87BC on white background.
This text has black color on #7E87BC background.
This text has white color on #7E87BC background.