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