HEX: #2E6DCD
RGB: (46,109,205)
#2E6DCD contains mainly blue color. Web safe color of #2E6DCD is #3366CC (or #36C).
#2E6DCD color RGB value is (46,109,205).
RGB: (46,109,205) (18%,43%,80%)
R 46 of 255 = 18%
G 109 of 255 = 43%
B 205 of 255 = 80%
R + G + B ~ 47%. #2E6DCD is middle color (not dark and not light).
R + G + B =
46 + 109 + 205 = 360 (100%)
R 46 of 360 ~ 12.78%
G 109 of 360 ~ 30.28%
B 205 of 360 ~ 56.94%
#2E6DCD color CMYK value is (78,47,0,20).
CMYK: (78,47,0,20) C78M47Y0K20 (78%,47%,0%,20%) (0.78/0.47/0.00/0.20)
2E | 6D | CD | |
---|---|---|---|
RGB | 46 | 109 | 205 |
HSL | 216° | 63.35% | 49.22% |
HSB/HSV | 216° | 77.56% | 80.39% |
CMYK | 77.56% | 46.83% | 0.00% |
19.61% |
HEX | 2E | 6D | CD |
Decimal | 46 | 109 | 205 |
Binary | 101110 | 1101101 | 11001101 |
Octal | 56 | 155 | 315 |
Examples of css and html codes for elements with #2E6DCD color. Also use rgb(46,109,205) instead hex code.
.myTextColor { color: #2E6DCD; }
<p style="color:#2E6DCD">This sample text font color is #2E6DCD.</p>
This text font color is #2E6DCD.
.myBgColor { background-color: #2E6DCD; }
<div style="background-color:#2E6DCD">Inner text</div>
This div background color is #2E6DCD.
.myBorderColor { border: 1px solid #2E6DCD; }
<div style="border:3px solid #2E6DCD">Div</div>
This div border color is #2E6DCD.
.myOpacity80 { color: #2E6DCD; opacity: 0.8; }
<p style="color:#2E6DCD;opacity:0.8;">80%</p>
Text with #2E6DCD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2E6DCD;}
<p style="text-shadow: 3px 3px 1px #2E6DCD">Text here.</p>
This text has shadow with #2E6DCD color.
.textShadow {text-shadow: 3px 3px 1px #2E6DCD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2E6DCD, 5px 5px 20px red">Text here.</p>
This text has shadow with #2E6DCD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E6DCD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2E6DCD, Direction=45, Strength=4)">Text</p>
This text has shadow with #2E6DCD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2E6DCD; -webkit-box-shadow: 1px 1px 3px 2px #2E6DCD; box-shadow: 1px 1px 3px 2px #2E6DCD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2E6DCD; -webkit-box-shadow: 1px 1px 3px 2px #2E6DCD; box-shadow:1px 1px 3px 2px #2E6DCD;">
Div content here</div>
This text has color #2E6DCD on black background.
This text has color #2E6DCD on white background.
This text has black color on #2E6DCD background.
This text has white color on #2E6DCD background.