HEX: #497040
RGB: (73,112,64)
#497040 contains red, green and blue colors in about the same proportion. Web safe color of #497040 is #336633 (or #363).
#497040 color RGB value is (73,112,64).
RGB: (73,112,64) (29%,44%,25%)
R 73 of 255 = 29%
G 112 of 255 = 44%
B 64 of 255 = 25%
R + G + B ~ 33%. #497040 is quite dark color.
R + G + B =
73 + 112 + 64 = 249 (100%)
R 73 of 249 ~ 29.32%
G 112 of 249 ~ 44.98%
B 64 of 249 ~ 25.7%
#497040 color CMYK value is (35,0,43,56).
CMYK: (35,0,43,56) C35M0Y43K56 (35%,0%,43%,56%) (0.35/0.00/0.43/0.56)
49 | 70 | 40 | |
---|---|---|---|
RGB | 73 | 112 | 64 |
HSL | 109° | 27.27% | 34.51% |
HSB/HSV | 109° | 42.86% | 43.92% |
CMYK | 34.82% | 0.00% | 42.86% |
56.08% |
HEX | 49 | 70 | 40 |
Decimal | 73 | 112 | 64 |
Binary | 1001001 | 1110000 | 1000000 |
Octal | 111 | 160 | 100 |
Examples of css and html codes for elements with #497040 color. Also use rgb(73,112,64) instead hex code.
.myTextColor { color: #497040; }
<p style="color:#497040">This sample text font color is #497040.</p>
This text font color is #497040.
.myBgColor { background-color: #497040; }
<div style="background-color:#497040">Inner text</div>
This div background color is #497040.
.myBorderColor { border: 1px solid #497040; }
<div style="border:3px solid #497040">Div</div>
This div border color is #497040.
.myOpacity80 { color: #497040; opacity: 0.8; }
<p style="color:#497040;opacity:0.8;">80%</p>
Text with #497040 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #497040;}
<p style="text-shadow: 3px 3px 1px #497040">Text here.</p>
This text has shadow with #497040 color.
.textShadow {text-shadow: 3px 3px 1px #497040, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #497040, 5px 5px 20px red">Text here.</p>
This text has shadow with #497040 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#497040, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#497040, Direction=45, Strength=4)">Text</p>
This text has shadow with #497040 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #497040; -webkit-box-shadow: 1px 1px 3px 2px #497040; box-shadow: 1px 1px 3px 2px #497040; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #497040; -webkit-box-shadow: 1px 1px 3px 2px #497040; box-shadow:1px 1px 3px 2px #497040;">
Div content here</div>
This text has color #497040 on black background.
This text has color #497040 on white background.
This text has black color on #497040 background.
This text has white color on #497040 background.