HEX: #498646
RGB: (73,134,70)
#498646 contains mainly green color. Web safe color of #498646 is #339933 (or #393).
#498646 color RGB value is (73,134,70).
RGB: (73,134,70) (29%,53%,27%)
R 73 of 255 = 29%
G 134 of 255 = 53%
B 70 of 255 = 27%
R + G + B ~ 36%. #498646 is quite dark color.
R + G + B =
73 + 134 + 70 = 277 (100%)
R 73 of 277 ~ 26.35%
G 134 of 277 ~ 48.38%
B 70 of 277 ~ 25.27%
#498646 color CMYK value is (46,0,48,47).
CMYK: (46,0,48,47) C46M0Y48K47 (46%,0%,48%,47%) (0.46/0.00/0.48/0.47)
49 | 86 | 46 | |
---|---|---|---|
RGB | 73 | 134 | 70 |
HSL | 117° | 31.37% | 40.00% |
HSB/HSV | 117° | 47.76% | 52.55% |
CMYK | 45.52% | 0.00% | 47.76% |
47.45% |
HEX | 49 | 86 | 46 |
Decimal | 73 | 134 | 70 |
Binary | 1001001 | 10000110 | 1000110 |
Octal | 111 | 206 | 106 |
Examples of css and html codes for elements with #498646 color. Also use rgb(73,134,70) instead hex code.
.myTextColor { color: #498646; }
<p style="color:#498646">This sample text font color is #498646.</p>
This text font color is #498646.
.myBgColor { background-color: #498646; }
<div style="background-color:#498646">Inner text</div>
This div background color is #498646.
.myBorderColor { border: 1px solid #498646; }
<div style="border:3px solid #498646">Div</div>
This div border color is #498646.
.myOpacity80 { color: #498646; opacity: 0.8; }
<p style="color:#498646;opacity:0.8;">80%</p>
Text with #498646 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498646;}
<p style="text-shadow: 3px 3px 1px #498646">Text here.</p>
This text has shadow with #498646 color.
.textShadow {text-shadow: 3px 3px 1px #498646, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498646, 5px 5px 20px red">Text here.</p>
This text has shadow with #498646 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498646, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498646, Direction=45, Strength=4)">Text</p>
This text has shadow with #498646 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498646; -webkit-box-shadow: 1px 1px 3px 2px #498646; box-shadow: 1px 1px 3px 2px #498646; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498646; -webkit-box-shadow: 1px 1px 3px 2px #498646; box-shadow:1px 1px 3px 2px #498646;">
Div content here</div>
This text has color #498646 on black background.
This text has color #498646 on white background.
This text has black color on #498646 background.
This text has white color on #498646 background.