HEX: #40776D
RGB: (64,119,109)
#40776D contains red, green and blue colors in about the same proportion. Web safe color of #40776D is #336666 (or #366).
#40776D color RGB value is (64,119,109).
RGB: (64,119,109) (25%,47%,43%)
R 64 of 255 = 25%
G 119 of 255 = 47%
B 109 of 255 = 43%
R + G + B ~ 38%. #40776D is quite dark color.
R + G + B =
64 + 119 + 109 = 292 (100%)
R 64 of 292 ~ 21.92%
G 119 of 292 ~ 40.75%
B 109 of 292 ~ 37.33%
#40776D color CMYK value is (46,0,8,53).
CMYK: (46,0,8,53) C46M0Y8K53 (46%,0%,8%,53%) (0.46/0.00/0.08/0.53)
40 | 77 | 6D | |
---|---|---|---|
RGB | 64 | 119 | 109 |
HSL | 169° | 30.05% | 35.88% |
HSB/HSV | 169° | 46.22% | 46.67% |
CMYK | 46.22% | 0.00% | 8.40% |
53.33% |
HEX | 40 | 77 | 6D |
Decimal | 64 | 119 | 109 |
Binary | 1000000 | 1110111 | 1101101 |
Octal | 100 | 167 | 155 |
Examples of css and html codes for elements with #40776D color. Also use rgb(64,119,109) instead hex code.
.myTextColor { color: #40776D; }
<p style="color:#40776D">This sample text font color is #40776D.</p>
This text font color is #40776D.
.myBgColor { background-color: #40776D; }
<div style="background-color:#40776D">Inner text</div>
This div background color is #40776D.
.myBorderColor { border: 1px solid #40776D; }
<div style="border:3px solid #40776D">Div</div>
This div border color is #40776D.
.myOpacity80 { color: #40776D; opacity: 0.8; }
<p style="color:#40776D;opacity:0.8;">80%</p>
Text with #40776D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40776D;}
<p style="text-shadow: 3px 3px 1px #40776D">Text here.</p>
This text has shadow with #40776D color.
.textShadow {text-shadow: 3px 3px 1px #40776D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40776D, 5px 5px 20px red">Text here.</p>
This text has shadow with #40776D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40776D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40776D, Direction=45, Strength=4)">Text</p>
This text has shadow with #40776D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40776D; -webkit-box-shadow: 1px 1px 3px 2px #40776D; box-shadow: 1px 1px 3px 2px #40776D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40776D; -webkit-box-shadow: 1px 1px 3px 2px #40776D; box-shadow:1px 1px 3px 2px #40776D;">
Div content here</div>
This text has color #40776D on black background.
This text has color #40776D on white background.
This text has black color on #40776D background.
This text has white color on #40776D background.