HEX: #40464E
RGB: (64,70,78)
#40464E contains red, green and blue colors in about the same proportion. Web safe color of #40464E is #333366 (or #336).
#40464E color RGB value is (64,70,78).
RGB: (64,70,78) (25%,27%,31%)
R 64 of 255 = 25%
G 70 of 255 = 27%
B 78 of 255 = 31%
R + G + B ~ 28%. #40464E is quite dark color.
R + G + B =
64 + 70 + 78 = 212 (100%)
R 64 of 212 ~ 30.19%
G 70 of 212 ~ 33.02%
B 78 of 212 ~ 36.79%
#40464E color CMYK value is (18,10,0,69).
CMYK: (18,10,0,69) C18M10Y0K69 (18%,10%,0%,69%) (0.18/0.10/0.00/0.69)
40 | 46 | 4E | |
---|---|---|---|
RGB | 64 | 70 | 78 |
HSL | 214° | 9.86% | 27.84% |
HSB/HSV | 214° | 17.95% | 30.59% |
CMYK | 17.95% | 10.26% | 0.00% |
69.41% |
HEX | 40 | 46 | 4E |
Decimal | 64 | 70 | 78 |
Binary | 1000000 | 1000110 | 1001110 |
Octal | 100 | 106 | 116 |
Examples of css and html codes for elements with #40464E color. Also use rgb(64,70,78) instead hex code.
.myTextColor { color: #40464E; }
<p style="color:#40464E">This sample text font color is #40464E.</p>
This text font color is #40464E.
.myBgColor { background-color: #40464E; }
<div style="background-color:#40464E">Inner text</div>
This div background color is #40464E.
.myBorderColor { border: 1px solid #40464E; }
<div style="border:3px solid #40464E">Div</div>
This div border color is #40464E.
.myOpacity80 { color: #40464E; opacity: 0.8; }
<p style="color:#40464E;opacity:0.8;">80%</p>
Text with #40464E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40464E;}
<p style="text-shadow: 3px 3px 1px #40464E">Text here.</p>
This text has shadow with #40464E color.
.textShadow {text-shadow: 3px 3px 1px #40464E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40464E, 5px 5px 20px red">Text here.</p>
This text has shadow with #40464E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40464E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40464E, Direction=45, Strength=4)">Text</p>
This text has shadow with #40464E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40464E; -webkit-box-shadow: 1px 1px 3px 2px #40464E; box-shadow: 1px 1px 3px 2px #40464E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40464E; -webkit-box-shadow: 1px 1px 3px 2px #40464E; box-shadow:1px 1px 3px 2px #40464E;">
Div content here</div>
This text has color #40464E on black background.
This text has color #40464E on white background.
This text has black color on #40464E background.
This text has white color on #40464E background.