HEX: #498937
RGB: (73,137,55)
#498937 contains mainly green color. Web safe color of #498937 is #339933 (or #393).
#498937 color RGB value is (73,137,55).
RGB: (73,137,55) (29%,54%,22%)
R 73 of 255 = 29%
G 137 of 255 = 54%
B 55 of 255 = 22%
R + G + B ~ 35%. #498937 is quite dark color.
R + G + B =
73 + 137 + 55 = 265 (100%)
R 73 of 265 ~ 27.55%
G 137 of 265 ~ 51.7%
B 55 of 265 ~ 20.75%
#498937 color CMYK value is (47,0,60,46).
CMYK: (47,0,60,46) C47M0Y60K46 (47%,0%,60%,46%) (0.47/0.00/0.60/0.46)
49 | 89 | 37 | |
---|---|---|---|
RGB | 73 | 137 | 55 |
HSL | 107° | 42.71% | 37.65% |
HSB/HSV | 107° | 59.85% | 53.73% |
CMYK | 46.72% | 0.00% | 59.85% |
46.27% |
HEX | 49 | 89 | 37 |
Decimal | 73 | 137 | 55 |
Binary | 1001001 | 10001001 | 110111 |
Octal | 111 | 211 | 67 |
Examples of css and html codes for elements with #498937 color. Also use rgb(73,137,55) instead hex code.
.myTextColor { color: #498937; }
<p style="color:#498937">This sample text font color is #498937.</p>
This text font color is #498937.
.myBgColor { background-color: #498937; }
<div style="background-color:#498937">Inner text</div>
This div background color is #498937.
.myBorderColor { border: 1px solid #498937; }
<div style="border:3px solid #498937">Div</div>
This div border color is #498937.
.myOpacity80 { color: #498937; opacity: 0.8; }
<p style="color:#498937;opacity:0.8;">80%</p>
Text with #498937 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498937;}
<p style="text-shadow: 3px 3px 1px #498937">Text here.</p>
This text has shadow with #498937 color.
.textShadow {text-shadow: 3px 3px 1px #498937, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498937, 5px 5px 20px red">Text here.</p>
This text has shadow with #498937 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498937, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498937, Direction=45, Strength=4)">Text</p>
This text has shadow with #498937 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498937; -webkit-box-shadow: 1px 1px 3px 2px #498937; box-shadow: 1px 1px 3px 2px #498937; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498937; -webkit-box-shadow: 1px 1px 3px 2px #498937; box-shadow:1px 1px 3px 2px #498937;">
Div content here</div>
This text has color #498937 on black background.
This text has color #498937 on white background.
This text has black color on #498937 background.
This text has white color on #498937 background.