HEX: #496418
RGB: (73,100,24)
#496418 contains mainly red and green colors. Web safe color of #496418 is #336600 (or #360).
#496418 color RGB value is (73,100,24).
RGB: (73,100,24) (29%,39%,9%)
R 73 of 255 = 29%
G 100 of 255 = 39%
B 24 of 255 = 9%
R + G + B ~ 26%. #496418 is quite dark color.
R + G + B =
73 + 100 + 24 = 197 (100%)
R 73 of 197 ~ 37.06%
G 100 of 197 ~ 50.76%
B 24 of 197 ~ 12.18%
#496418 color CMYK value is (27,0,76,61).
CMYK: (27,0,76,61) C27M0Y76K61 (27%,0%,76%,61%) (0.27/0.00/0.76/0.61)
49 | 64 | 18 | |
---|---|---|---|
RGB | 73 | 100 | 24 |
HSL | 81° | 61.29% | 24.31% |
HSB/HSV | 81° | 76.00% | 39.22% |
CMYK | 27.00% | 0.00% | 76.00% |
60.78% |
HEX | 49 | 64 | 18 |
Decimal | 73 | 100 | 24 |
Binary | 1001001 | 1100100 | 11000 |
Octal | 111 | 144 | 30 |
Examples of css and html codes for elements with #496418 color. Also use rgb(73,100,24) instead hex code.
.myTextColor { color: #496418; }
<p style="color:#496418">This sample text font color is #496418.</p>
This text font color is #496418.
.myBgColor { background-color: #496418; }
<div style="background-color:#496418">Inner text</div>
This div background color is #496418.
.myBorderColor { border: 1px solid #496418; }
<div style="border:3px solid #496418">Div</div>
This div border color is #496418.
.myOpacity80 { color: #496418; opacity: 0.8; }
<p style="color:#496418;opacity:0.8;">80%</p>
Text with #496418 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #496418;}
<p style="text-shadow: 3px 3px 1px #496418">Text here.</p>
This text has shadow with #496418 color.
.textShadow {text-shadow: 3px 3px 1px #496418, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #496418, 5px 5px 20px red">Text here.</p>
This text has shadow with #496418 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#496418, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#496418, Direction=45, Strength=4)">Text</p>
This text has shadow with #496418 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #496418; -webkit-box-shadow: 1px 1px 3px 2px #496418; box-shadow: 1px 1px 3px 2px #496418; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #496418; -webkit-box-shadow: 1px 1px 3px 2px #496418; box-shadow:1px 1px 3px 2px #496418;">
Div content here</div>
This text has color #496418 on black background.
This text has color #496418 on white background.
This text has black color on #496418 background.
This text has white color on #496418 background.