HEX: #40766D
RGB: (64,118,109)
#40766D contains red, green and blue colors in about the same proportion. Web safe color of #40766D is #336666 (or #366).
#40766D color RGB value is (64,118,109).
RGB: (64,118,109)
(25%, 46%, 43%)
R 64 of 255 = 25%
G 118 of 255 = 46%
B 109 of 255 = 43%
R + G + B ~ 38%. #40766D is quite dark color.
R + G + B = 64 + 118 + 109 = 291 (100%)
R 64 of 291 ~ 21.99%
G 118 of 291 ~ 40.55%
B 109 of 291 ~ 37.46'%
#40766D color CMYK value is (46,0,8,54).
CMYK: (46,0,8,54) C46M0Y8K54 (46%,0%,8%,54%) (0.46/0.00/0.08/0.54)
Color #40766D in popluar color models
40 | 76 | 6D | |
---|---|---|---|
RGB | 64 | 118 | 109 |
HSL | 170° | 29.67% | 35.69% |
HSB/HSV | 170° | 45.76% | 46.27% |
CMYK | 45.76% | 0.00% | 7.63% |
53.73% |
Color #40766D in popluar number systems.
HEX | 40 | 76 | 6D |
Decimal | 64 | 118 | 109 |
Binary | 1000000 | 1110110 | 1101101 |
Octal | 100 | 166 | 155 |
Shades of #40766D
Tints of #40766D
Examples of css and html codes for elements with #40766D color. Also use rgb(64,118,109) instead hex code.
.myTextColor { color: #40766D; }
<p style="color:#40766D">This sample text font color is #40766D.</p>
This text font color is #40766D.
.myBgColor { background-color: #40766D; }
<div style="background-color:#40766D">Inner text</div>
This div background color is #40766D.
.myBorderColor { border: 1px solid #40766D; }
<div style="border:3px solid #40766D">Div</div>
This div border color is #40766D.
.myOpacity80 { color: #40766D; opacity: 0.8; }
<p style="color:#40766D;opacity:0.8;">80%</p>
Text with #40766D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40766D;}
<p style="text-shadow: 3px 3px 1px #40766D">Text here.</p>
This text has shadow with #40766D color.
.textShadow {text-shadow: 3px 3px 1px #40766D', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40766D, 5px 5px 20px red">Text here.</p>
This text has shadow with #40766D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40766D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40766D, Direction=45, Strength=4)">Text</p>
This text has shadow with #40766D and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #40766D;
-webkit-box-shadow: 1px 1px 3px 2px #40766D;
box-shadow: 1px 1px 3px 2px #40766D;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #40766D; -webkit-box-shadow: 1px 1px 3px 2px #40766D; box-shadow:1px 1px 3px 2px #40766D;">
Div content here
</div>
This text has color #40766D on black background.
This text has color #40766D on white background.
This text has black color on #40766D background.
This text has white color on #40766D background.
Complementary color for #hex is #BF8992.