HEX: #495915
RGB: (73,89,21)
#495915 contains mainly red and green colors. Web safe color of #495915 is #336600 (or #360).
#495915 color RGB value is (73,89,21).
RGB: (73,89,21) (29%,35%,8%)
R 73 of 255 = 29%
G 89 of 255 = 35%
B 21 of 255 = 8%
R + G + B ~ 24%. #495915 is dark color.
R + G + B =
73 + 89 + 21 = 183 (100%)
R 73 of 183 ~ 39.89%
G 89 of 183 ~ 48.63%
B 21 of 183 ~ 11.48%
#495915 color CMYK value is (18,0,76,65).
CMYK: (18,0,76,65) C18M0Y76K65 (18%,0%,76%,65%) (0.18/0.00/0.76/0.65)
49 | 59 | 15 | |
---|---|---|---|
RGB | 73 | 89 | 21 |
HSL | 74° | 61.82% | 21.57% |
HSB/HSV | 74° | 76.40% | 34.90% |
CMYK | 17.98% | 0.00% | 76.40% |
65.10% |
HEX | 49 | 59 | 15 |
Decimal | 73 | 89 | 21 |
Binary | 1001001 | 1011001 | 10101 |
Octal | 111 | 131 | 25 |
Examples of css and html codes for elements with #495915 color. Also use rgb(73,89,21) instead hex code.
.myTextColor { color: #495915; }
<p style="color:#495915">This sample text font color is #495915.</p>
This text font color is #495915.
.myBgColor { background-color: #495915; }
<div style="background-color:#495915">Inner text</div>
This div background color is #495915.
.myBorderColor { border: 1px solid #495915; }
<div style="border:3px solid #495915">Div</div>
This div border color is #495915.
.myOpacity80 { color: #495915; opacity: 0.8; }
<p style="color:#495915;opacity:0.8;">80%</p>
Text with #495915 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #495915;}
<p style="text-shadow: 3px 3px 1px #495915">Text here.</p>
This text has shadow with #495915 color.
.textShadow {text-shadow: 3px 3px 1px #495915, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #495915, 5px 5px 20px red">Text here.</p>
This text has shadow with #495915 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#495915, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#495915, Direction=45, Strength=4)">Text</p>
This text has shadow with #495915 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #495915; -webkit-box-shadow: 1px 1px 3px 2px #495915; box-shadow: 1px 1px 3px 2px #495915; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #495915; -webkit-box-shadow: 1px 1px 3px 2px #495915; box-shadow:1px 1px 3px 2px #495915;">
Div content here</div>
This text has color #495915 on black background.
This text has color #495915 on white background.
This text has black color on #495915 background.
This text has white color on #495915 background.