HEX: #2E537D
RGB: (46,83,125)
#2E537D contains mainly green and blue colors. Web safe color of #2E537D is #336666 (or #366).
#2E537D color RGB value is (46,83,125).
RGB: (46,83,125) (18%,33%,49%)
R 46 of 255 = 18%
G 83 of 255 = 33%
B 125 of 255 = 49%
R + G + B ~ 33%. #2E537D is quite dark color.
R + G + B =
46 + 83 + 125 = 254 (100%)
R 46 of 254 ~ 18.11%
G 83 of 254 ~ 32.68%
B 125 of 254 ~ 49.21%
#2E537D color CMYK value is (63,34,0,51).
CMYK: (63,34,0,51) C63M34Y0K51 (63%,34%,0%,51%) (0.63/0.34/0.00/0.51)
2E | 53 | 7D | |
---|---|---|---|
RGB | 46 | 83 | 125 |
HSL | 212° | 46.20% | 33.53% |
HSB/HSV | 212° | 63.20% | 49.02% |
CMYK | 63.20% | 33.60% | 0.00% |
50.98% |
HEX | 2E | 53 | 7D |
Decimal | 46 | 83 | 125 |
Binary | 101110 | 1010011 | 1111101 |
Octal | 56 | 123 | 175 |
Examples of css and html codes for elements with #2E537D color. Also use rgb(46,83,125) instead hex code.
.myTextColor { color: #2E537D; }
<p style="color:#2E537D">This sample text font color is #2E537D.</p>
This text font color is #2E537D.
.myBgColor { background-color: #2E537D; }
<div style="background-color:#2E537D">Inner text</div>
This div background color is #2E537D.
.myBorderColor { border: 1px solid #2E537D; }
<div style="border:3px solid #2E537D">Div</div>
This div border color is #2E537D.
.myOpacity80 { color: #2E537D; opacity: 0.8; }
<p style="color:#2E537D;opacity:0.8;">80%</p>
Text with #2E537D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2E537D;}
<p style="text-shadow: 3px 3px 1px #2E537D">Text here.</p>
This text has shadow with #2E537D color.
.textShadow {text-shadow: 3px 3px 1px #2E537D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2E537D, 5px 5px 20px red">Text here.</p>
This text has shadow with #2E537D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E537D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2E537D, Direction=45, Strength=4)">Text</p>
This text has shadow with #2E537D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2E537D; -webkit-box-shadow: 1px 1px 3px 2px #2E537D; box-shadow: 1px 1px 3px 2px #2E537D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2E537D; -webkit-box-shadow: 1px 1px 3px 2px #2E537D; box-shadow:1px 1px 3px 2px #2E537D;">
Div content here</div>
This text has color #2E537D on black background.
This text has color #2E537D on white background.
This text has black color on #2E537D background.
This text has white color on #2E537D background.