HEX: #2E5489
RGB: (46,84,137)
#2E5489 contains mainly green and blue colors. Web safe color of #2E5489 is #336699 (or #369).
#2E5489 color RGB value is (46,84,137).
RGB: (46,84,137) (18%,33%,54%)
R 46 of 255 = 18%
G 84 of 255 = 33%
B 137 of 255 = 54%
R + G + B ~ 35%. #2E5489 is quite dark color.
R + G + B =
46 + 84 + 137 = 267 (100%)
R 46 of 267 ~ 17.23%
G 84 of 267 ~ 31.46%
B 137 of 267 ~ 51.31%
#2E5489 color CMYK value is (66,39,0,46).
CMYK: (66,39,0,46) C66M39Y0K46 (66%,39%,0%,46%) (0.66/0.39/0.00/0.46)
2E | 54 | 89 | |
---|---|---|---|
RGB | 46 | 84 | 137 |
HSL | 215° | 49.73% | 35.88% |
HSB/HSV | 215° | 66.42% | 53.73% |
CMYK | 66.42% | 38.69% | 0.00% |
46.27% |
HEX | 2E | 54 | 89 |
Decimal | 46 | 84 | 137 |
Binary | 101110 | 1010100 | 10001001 |
Octal | 56 | 124 | 211 |
Examples of css and html codes for elements with #2E5489 color. Also use rgb(46,84,137) instead hex code.
.myTextColor { color: #2E5489; }
<p style="color:#2E5489">This sample text font color is #2E5489.</p>
This text font color is #2E5489.
.myBgColor { background-color: #2E5489; }
<div style="background-color:#2E5489">Inner text</div>
This div background color is #2E5489.
.myBorderColor { border: 1px solid #2E5489; }
<div style="border:3px solid #2E5489">Div</div>
This div border color is #2E5489.
.myOpacity80 { color: #2E5489; opacity: 0.8; }
<p style="color:#2E5489;opacity:0.8;">80%</p>
Text with #2E5489 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2E5489;}
<p style="text-shadow: 3px 3px 1px #2E5489">Text here.</p>
This text has shadow with #2E5489 color.
.textShadow {text-shadow: 3px 3px 1px #2E5489, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2E5489, 5px 5px 20px red">Text here.</p>
This text has shadow with #2E5489 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E5489, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2E5489, Direction=45, Strength=4)">Text</p>
This text has shadow with #2E5489 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2E5489; -webkit-box-shadow: 1px 1px 3px 2px #2E5489; box-shadow: 1px 1px 3px 2px #2E5489; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2E5489; -webkit-box-shadow: 1px 1px 3px 2px #2E5489; box-shadow:1px 1px 3px 2px #2E5489;">
Div content here</div>
This text has color #2E5489 on black background.
This text has color #2E5489 on white background.
This text has black color on #2E5489 background.
This text has white color on #2E5489 background.