HEX: #40774B
RGB: (64,119,75)
#40774B contains red, green and blue colors in about the same proportion. Web safe color of #40774B is #336633 (or #363).
#40774B color RGB value is (64,119,75).
RGB: (64,119,75) (25%,47%,29%)
R 64 of 255 = 25%
G 119 of 255 = 47%
B 75 of 255 = 29%
R + G + B ~ 34%. #40774B is quite dark color.
R + G + B =
64 + 119 + 75 = 258 (100%)
R 64 of 258 ~ 24.81%
G 119 of 258 ~ 46.12%
B 75 of 258 ~ 29.07%
#40774B color CMYK value is (46,0,37,53).
CMYK: (46,0,37,53) C46M0Y37K53 (46%,0%,37%,53%) (0.46/0.00/0.37/0.53)
40 | 77 | 4B | |
---|---|---|---|
RGB | 64 | 119 | 75 |
HSL | 132° | 30.05% | 35.88% |
HSB/HSV | 132° | 46.22% | 46.67% |
CMYK | 46.22% | 0.00% | 36.97% |
53.33% |
HEX | 40 | 77 | 4B |
Decimal | 64 | 119 | 75 |
Binary | 1000000 | 1110111 | 1001011 |
Octal | 100 | 167 | 113 |
Examples of css and html codes for elements with #40774B color. Also use rgb(64,119,75) instead hex code.
.myTextColor { color: #40774B; }
<p style="color:#40774B">This sample text font color is #40774B.</p>
This text font color is #40774B.
.myBgColor { background-color: #40774B; }
<div style="background-color:#40774B">Inner text</div>
This div background color is #40774B.
.myBorderColor { border: 1px solid #40774B; }
<div style="border:3px solid #40774B">Div</div>
This div border color is #40774B.
.myOpacity80 { color: #40774B; opacity: 0.8; }
<p style="color:#40774B;opacity:0.8;">80%</p>
Text with #40774B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40774B;}
<p style="text-shadow: 3px 3px 1px #40774B">Text here.</p>
This text has shadow with #40774B color.
.textShadow {text-shadow: 3px 3px 1px #40774B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40774B, 5px 5px 20px red">Text here.</p>
This text has shadow with #40774B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40774B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40774B, Direction=45, Strength=4)">Text</p>
This text has shadow with #40774B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40774B; -webkit-box-shadow: 1px 1px 3px 2px #40774B; box-shadow: 1px 1px 3px 2px #40774B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40774B; -webkit-box-shadow: 1px 1px 3px 2px #40774B; box-shadow:1px 1px 3px 2px #40774B;">
Div content here</div>
This text has color #40774B on black background.
This text has color #40774B on white background.
This text has black color on #40774B background.
This text has white color on #40774B background.