HEX: #40714E
RGB: (64,113,78)
#40714E contains red, green and blue colors in about the same proportion. Web safe color of #40714E is #336666 (or #366).
#40714E color RGB value is (64,113,78).
RGB: (64,113,78) (25%,44%,31%)
R 64 of 255 = 25%
G 113 of 255 = 44%
B 78 of 255 = 31%
R + G + B ~ 33%. #40714E is quite dark color.
R + G + B =
64 + 113 + 78 = 255 (100%)
R 64 of 255 ~ 25.1%
G 113 of 255 ~ 44.31%
B 78 of 255 ~ 30.59%
#40714E color CMYK value is (43,0,31,56).
CMYK: (43,0,31,56) C43M0Y31K56 (43%,0%,31%,56%) (0.43/0.00/0.31/0.56)
40 | 71 | 4E | |
---|---|---|---|
RGB | 64 | 113 | 78 |
HSL | 137° | 27.68% | 34.71% |
HSB/HSV | 137° | 43.36% | 44.31% |
CMYK | 43.36% | 0.00% | 30.97% |
55.69% |
HEX | 40 | 71 | 4E |
Decimal | 64 | 113 | 78 |
Binary | 1000000 | 1110001 | 1001110 |
Octal | 100 | 161 | 116 |
Examples of css and html codes for elements with #40714E color. Also use rgb(64,113,78) instead hex code.
.myTextColor { color: #40714E; }
<p style="color:#40714E">This sample text font color is #40714E.</p>
This text font color is #40714E.
.myBgColor { background-color: #40714E; }
<div style="background-color:#40714E">Inner text</div>
This div background color is #40714E.
.myBorderColor { border: 1px solid #40714E; }
<div style="border:3px solid #40714E">Div</div>
This div border color is #40714E.
.myOpacity80 { color: #40714E; opacity: 0.8; }
<p style="color:#40714E;opacity:0.8;">80%</p>
Text with #40714E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40714E;}
<p style="text-shadow: 3px 3px 1px #40714E">Text here.</p>
This text has shadow with #40714E color.
.textShadow {text-shadow: 3px 3px 1px #40714E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40714E, 5px 5px 20px red">Text here.</p>
This text has shadow with #40714E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40714E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40714E, Direction=45, Strength=4)">Text</p>
This text has shadow with #40714E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40714E; -webkit-box-shadow: 1px 1px 3px 2px #40714E; box-shadow: 1px 1px 3px 2px #40714E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40714E; -webkit-box-shadow: 1px 1px 3px 2px #40714E; box-shadow:1px 1px 3px 2px #40714E;">
Div content here</div>
This text has color #40714E on black background.
This text has color #40714E on white background.
This text has black color on #40714E background.
This text has white color on #40714E background.