HEX: #2E476F
RGB: (46,71,111)
#2E476F contains mainly green and blue colors. Web safe color of #2E476F is #333366 (or #336).
#2E476F color RGB value is (46,71,111).
RGB: (46,71,111) (18%,28%,44%)
R 46 of 255 = 18%
G 71 of 255 = 28%
B 111 of 255 = 44%
R + G + B ~ 30%. #2E476F is quite dark color.
R + G + B =
46 + 71 + 111 = 228 (100%)
R 46 of 228 ~ 20.18%
G 71 of 228 ~ 31.14%
B 111 of 228 ~ 48.68%
#2E476F color CMYK value is (59,36,0,56).
CMYK: (59,36,0,56) C59M36Y0K56 (59%,36%,0%,56%) (0.59/0.36/0.00/0.56)
2E | 47 | 6F | |
---|---|---|---|
RGB | 46 | 71 | 111 |
HSL | 217° | 41.40% | 30.78% |
HSB/HSV | 217° | 58.56% | 43.53% |
CMYK | 58.56% | 36.04% | 0.00% |
56.47% |
HEX | 2E | 47 | 6F |
Decimal | 46 | 71 | 111 |
Binary | 101110 | 1000111 | 1101111 |
Octal | 56 | 107 | 157 |
Examples of css and html codes for elements with #2E476F color. Also use rgb(46,71,111) instead hex code.
.myTextColor { color: #2E476F; }
<p style="color:#2E476F">This sample text font color is #2E476F.</p>
This text font color is #2E476F.
.myBgColor { background-color: #2E476F; }
<div style="background-color:#2E476F">Inner text</div>
This div background color is #2E476F.
.myBorderColor { border: 1px solid #2E476F; }
<div style="border:3px solid #2E476F">Div</div>
This div border color is #2E476F.
.myOpacity80 { color: #2E476F; opacity: 0.8; }
<p style="color:#2E476F;opacity:0.8;">80%</p>
Text with #2E476F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2E476F;}
<p style="text-shadow: 3px 3px 1px #2E476F">Text here.</p>
This text has shadow with #2E476F color.
.textShadow {text-shadow: 3px 3px 1px #2E476F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2E476F, 5px 5px 20px red">Text here.</p>
This text has shadow with #2E476F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E476F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2E476F, Direction=45, Strength=4)">Text</p>
This text has shadow with #2E476F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2E476F; -webkit-box-shadow: 1px 1px 3px 2px #2E476F; box-shadow: 1px 1px 3px 2px #2E476F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2E476F; -webkit-box-shadow: 1px 1px 3px 2px #2E476F; box-shadow:1px 1px 3px 2px #2E476F;">
Div content here</div>
This text has color #2E476F on black background.
This text has color #2E476F on white background.
This text has black color on #2E476F background.
This text has white color on #2E476F background.