HEX: #407E4B
RGB: (64,126,75)
#407E4B contains mainly green and blue colors. Web safe color of #407E4B is #336633 (or #363).
#407E4B color RGB value is (64,126,75).
RGB: (64,126,75) (25%,49%,29%)
R 64 of 255 = 25%
G 126 of 255 = 49%
B 75 of 255 = 29%
R + G + B ~ 34%. #407E4B is quite dark color.
R + G + B =
64 + 126 + 75 = 265 (100%)
R 64 of 265 ~ 24.15%
G 126 of 265 ~ 47.55%
B 75 of 265 ~ 28.3%
#407E4B color CMYK value is (49,0,40,51).
CMYK: (49,0,40,51) C49M0Y40K51 (49%,0%,40%,51%) (0.49/0.00/0.40/0.51)
40 | 7E | 4B | |
---|---|---|---|
RGB | 64 | 126 | 75 |
HSL | 131° | 32.63% | 37.25% |
HSB/HSV | 131° | 49.21% | 49.41% |
CMYK | 49.21% | 0.00% | 40.48% |
50.59% |
HEX | 40 | 7E | 4B |
Decimal | 64 | 126 | 75 |
Binary | 1000000 | 1111110 | 1001011 |
Octal | 100 | 176 | 113 |
Examples of css and html codes for elements with #407E4B color. Also use rgb(64,126,75) instead hex code.
.myTextColor { color: #407E4B; }
<p style="color:#407E4B">This sample text font color is #407E4B.</p>
This text font color is #407E4B.
.myBgColor { background-color: #407E4B; }
<div style="background-color:#407E4B">Inner text</div>
This div background color is #407E4B.
.myBorderColor { border: 1px solid #407E4B; }
<div style="border:3px solid #407E4B">Div</div>
This div border color is #407E4B.
.myOpacity80 { color: #407E4B; opacity: 0.8; }
<p style="color:#407E4B;opacity:0.8;">80%</p>
Text with #407E4B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #407E4B;}
<p style="text-shadow: 3px 3px 1px #407E4B">Text here.</p>
This text has shadow with #407E4B color.
.textShadow {text-shadow: 3px 3px 1px #407E4B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #407E4B, 5px 5px 20px red">Text here.</p>
This text has shadow with #407E4B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#407E4B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#407E4B, Direction=45, Strength=4)">Text</p>
This text has shadow with #407E4B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #407E4B; -webkit-box-shadow: 1px 1px 3px 2px #407E4B; box-shadow: 1px 1px 3px 2px #407E4B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #407E4B; -webkit-box-shadow: 1px 1px 3px 2px #407E4B; box-shadow:1px 1px 3px 2px #407E4B;">
Div content here</div>
This text has color #407E4B on black background.
This text has color #407E4B on white background.
This text has black color on #407E4B background.
This text has white color on #407E4B background.