HEX: #497226
RGB: (73,114,38)
#497226 contains mainly red and green colors. Web safe color of #497226 is #336633 (or #363).
#497226 color RGB value is (73,114,38).
RGB: (73,114,38) (29%,45%,15%)
R 73 of 255 = 29%
G 114 of 255 = 45%
B 38 of 255 = 15%
R + G + B ~ 30%. #497226 is quite dark color.
R + G + B =
73 + 114 + 38 = 225 (100%)
R 73 of 225 ~ 32.44%
G 114 of 225 ~ 50.67%
B 38 of 225 ~ 16.89%
#497226 color CMYK value is (36,0,67,55).
CMYK: (36,0,67,55) C36M0Y67K55 (36%,0%,67%,55%) (0.36/0.00/0.67/0.55)
49 | 72 | 26 | |
---|---|---|---|
RGB | 73 | 114 | 38 |
HSL | 92° | 50.00% | 29.80% |
HSB/HSV | 92° | 66.67% | 44.71% |
CMYK | 35.96% | 0.00% | 66.67% |
55.29% |
HEX | 49 | 72 | 26 |
Decimal | 73 | 114 | 38 |
Binary | 1001001 | 1110010 | 100110 |
Octal | 111 | 162 | 46 |
Examples of css and html codes for elements with #497226 color. Also use rgb(73,114,38) instead hex code.
.myTextColor { color: #497226; }
<p style="color:#497226">This sample text font color is #497226.</p>
This text font color is #497226.
.myBgColor { background-color: #497226; }
<div style="background-color:#497226">Inner text</div>
This div background color is #497226.
.myBorderColor { border: 1px solid #497226; }
<div style="border:3px solid #497226">Div</div>
This div border color is #497226.
.myOpacity80 { color: #497226; opacity: 0.8; }
<p style="color:#497226;opacity:0.8;">80%</p>
Text with #497226 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #497226;}
<p style="text-shadow: 3px 3px 1px #497226">Text here.</p>
This text has shadow with #497226 color.
.textShadow {text-shadow: 3px 3px 1px #497226, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #497226, 5px 5px 20px red">Text here.</p>
This text has shadow with #497226 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#497226, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#497226, Direction=45, Strength=4)">Text</p>
This text has shadow with #497226 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #497226; -webkit-box-shadow: 1px 1px 3px 2px #497226; box-shadow: 1px 1px 3px 2px #497226; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #497226; -webkit-box-shadow: 1px 1px 3px 2px #497226; box-shadow:1px 1px 3px 2px #497226;">
Div content here</div>
This text has color #497226 on black background.
This text has color #497226 on white background.
This text has black color on #497226 background.
This text has white color on #497226 background.