HEX: #2E7CDB
RGB: (46,124,219)
#2E7CDB contains mainly blue color. Web safe color of #2E7CDB is #3366CC (or #36C).
#2E7CDB color RGB value is (46,124,219).
RGB: (46,124,219) (18%,49%,86%)
R 46 of 255 = 18%
G 124 of 255 = 49%
B 219 of 255 = 86%
R + G + B ~ 51%. #2E7CDB is middle color (not dark and not light).
R + G + B =
46 + 124 + 219 = 389 (100%)
R 46 of 389 ~ 11.83%
G 124 of 389 ~ 31.88%
B 219 of 389 ~ 56.3%
#2E7CDB color CMYK value is (79,43,0,14).
CMYK: (79,43,0,14) C79M43Y0K14 (79%,43%,0%,14%) (0.79/0.43/0.00/0.14)
2E | 7C | DB | |
---|---|---|---|
RGB | 46 | 124 | 219 |
HSL | 213° | 70.61% | 51.96% |
HSB/HSV | 213° | 79.00% | 85.88% |
CMYK | 79.00% | 43.38% | 0.00% |
14.12% |
HEX | 2E | 7C | DB |
Decimal | 46 | 124 | 219 |
Binary | 101110 | 1111100 | 11011011 |
Octal | 56 | 174 | 333 |
Examples of css and html codes for elements with #2E7CDB color. Also use rgb(46,124,219) instead hex code.
.myTextColor { color: #2E7CDB; }
<p style="color:#2E7CDB">This sample text font color is #2E7CDB.</p>
This text font color is #2E7CDB.
.myBgColor { background-color: #2E7CDB; }
<div style="background-color:#2E7CDB">Inner text</div>
This div background color is #2E7CDB.
.myBorderColor { border: 1px solid #2E7CDB; }
<div style="border:3px solid #2E7CDB">Div</div>
This div border color is #2E7CDB.
.myOpacity80 { color: #2E7CDB; opacity: 0.8; }
<p style="color:#2E7CDB;opacity:0.8;">80%</p>
Text with #2E7CDB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2E7CDB;}
<p style="text-shadow: 3px 3px 1px #2E7CDB">Text here.</p>
This text has shadow with #2E7CDB color.
.textShadow {text-shadow: 3px 3px 1px #2E7CDB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2E7CDB, 5px 5px 20px red">Text here.</p>
This text has shadow with #2E7CDB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E7CDB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2E7CDB, Direction=45, Strength=4)">Text</p>
This text has shadow with #2E7CDB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2E7CDB; -webkit-box-shadow: 1px 1px 3px 2px #2E7CDB; box-shadow: 1px 1px 3px 2px #2E7CDB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2E7CDB; -webkit-box-shadow: 1px 1px 3px 2px #2E7CDB; box-shadow:1px 1px 3px 2px #2E7CDB;">
Div content here</div>
This text has color #2E7CDB on black background.
This text has color #2E7CDB on white background.
This text has black color on #2E7CDB background.
This text has white color on #2E7CDB background.