HEX: #2E87BB
RGB: (46,135,187)
#2E87BB contains mainly green and blue colors. Web safe color of #2E87BB is #3399CC (or #39C).
#2E87BB color RGB value is (46,135,187).
RGB: (46,135,187) (18%,53%,73%)
R 46 of 255 = 18%
G 135 of 255 = 53%
B 187 of 255 = 73%
R + G + B ~ 48%. #2E87BB is middle color (not dark and not light).
R + G + B =
46 + 135 + 187 = 368 (100%)
R 46 of 368 ~ 12.5%
G 135 of 368 ~ 36.68%
B 187 of 368 ~ 50.82%
#2E87BB color CMYK value is (75,28,0,27).
CMYK: (75,28,0,27) C75M28Y0K27 (75%,28%,0%,27%) (0.75/0.28/0.00/0.27)
2E | 87 | BB | |
---|---|---|---|
RGB | 46 | 135 | 187 |
HSL | 202° | 60.52% | 45.69% |
HSB/HSV | 202° | 75.40% | 73.33% |
CMYK | 75.40% | 27.81% | 0.00% |
26.67% |
HEX | 2E | 87 | BB |
Decimal | 46 | 135 | 187 |
Binary | 101110 | 10000111 | 10111011 |
Octal | 56 | 207 | 273 |
Examples of css and html codes for elements with #2E87BB color. Also use rgb(46,135,187) instead hex code.
.myTextColor { color: #2E87BB; }
<p style="color:#2E87BB">This sample text font color is #2E87BB.</p>
This text font color is #2E87BB.
.myBgColor { background-color: #2E87BB; }
<div style="background-color:#2E87BB">Inner text</div>
This div background color is #2E87BB.
.myBorderColor { border: 1px solid #2E87BB; }
<div style="border:3px solid #2E87BB">Div</div>
This div border color is #2E87BB.
.myOpacity80 { color: #2E87BB; opacity: 0.8; }
<p style="color:#2E87BB;opacity:0.8;">80%</p>
Text with #2E87BB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2E87BB;}
<p style="text-shadow: 3px 3px 1px #2E87BB">Text here.</p>
This text has shadow with #2E87BB color.
.textShadow {text-shadow: 3px 3px 1px #2E87BB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2E87BB, 5px 5px 20px red">Text here.</p>
This text has shadow with #2E87BB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E87BB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2E87BB, Direction=45, Strength=4)">Text</p>
This text has shadow with #2E87BB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2E87BB; -webkit-box-shadow: 1px 1px 3px 2px #2E87BB; box-shadow: 1px 1px 3px 2px #2E87BB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2E87BB; -webkit-box-shadow: 1px 1px 3px 2px #2E87BB; box-shadow:1px 1px 3px 2px #2E87BB;">
Div content here</div>
This text has color #2E87BB on black background.
This text has color #2E87BB on white background.
This text has black color on #2E87BB background.
This text has white color on #2E87BB background.