HEX: #2E3C5B
RGB: (46,60,91)
#2E3C5B contains red, green and blue colors in about the same proportion. Web safe color of #2E3C5B is #333366 (or #336).
#2E3C5B color RGB value is (46,60,91).
RGB: (46,60,91) (18%,24%,36%)
R 46 of 255 = 18%
G 60 of 255 = 24%
B 91 of 255 = 36%
R + G + B ~ 26%. #2E3C5B is quite dark color.
R + G + B =
46 + 60 + 91 = 197 (100%)
R 46 of 197 ~ 23.35%
G 60 of 197 ~ 30.46%
B 91 of 197 ~ 46.19%
#2E3C5B color CMYK value is (49,34,0,64).
CMYK: (49,34,0,64) C49M34Y0K64 (49%,34%,0%,64%) (0.49/0.34/0.00/0.64)
2E | 3C | 5B | |
---|---|---|---|
RGB | 46 | 60 | 91 |
HSL | 221° | 32.85% | 26.86% |
HSB/HSV | 221° | 49.45% | 35.69% |
CMYK | 49.45% | 34.07% | 0.00% |
64.31% |
HEX | 2E | 3C | 5B |
Decimal | 46 | 60 | 91 |
Binary | 101110 | 111100 | 1011011 |
Octal | 56 | 74 | 133 |
Examples of css and html codes for elements with #2E3C5B color. Also use rgb(46,60,91) instead hex code.
.myTextColor { color: #2E3C5B; }
<p style="color:#2E3C5B">This sample text font color is #2E3C5B.</p>
This text font color is #2E3C5B.
.myBgColor { background-color: #2E3C5B; }
<div style="background-color:#2E3C5B">Inner text</div>
This div background color is #2E3C5B.
.myBorderColor { border: 1px solid #2E3C5B; }
<div style="border:3px solid #2E3C5B">Div</div>
This div border color is #2E3C5B.
.myOpacity80 { color: #2E3C5B; opacity: 0.8; }
<p style="color:#2E3C5B;opacity:0.8;">80%</p>
Text with #2E3C5B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2E3C5B;}
<p style="text-shadow: 3px 3px 1px #2E3C5B">Text here.</p>
This text has shadow with #2E3C5B color.
.textShadow {text-shadow: 3px 3px 1px #2E3C5B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2E3C5B, 5px 5px 20px red">Text here.</p>
This text has shadow with #2E3C5B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E3C5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2E3C5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #2E3C5B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2E3C5B; -webkit-box-shadow: 1px 1px 3px 2px #2E3C5B; box-shadow: 1px 1px 3px 2px #2E3C5B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2E3C5B; -webkit-box-shadow: 1px 1px 3px 2px #2E3C5B; box-shadow:1px 1px 3px 2px #2E3C5B;">
Div content here</div>
This text has color #2E3C5B on black background.
This text has color #2E3C5B on white background.
This text has black color on #2E3C5B background.
This text has white color on #2E3C5B background.