HEX: #498C49
RGB: (73,140,73)
#498C49 contains mainly green color. Web safe color of #498C49 is #339933 (or #393).
#498C49 color RGB value is (73,140,73).
RGB: (73,140,73) (29%,55%,29%)
R 73 of 255 = 29%
G 140 of 255 = 55%
B 73 of 255 = 29%
R + G + B ~ 38%. #498C49 is quite dark color.
R + G + B =
73 + 140 + 73 = 286 (100%)
R 73 of 286 ~ 25.52%
G 140 of 286 ~ 48.95%
B 73 of 286 ~ 25.52%
#498C49 color CMYK value is (48,0,48,45).
CMYK: (48,0,48,45) C48M0Y48K45 (48%,0%,48%,45%) (0.48/0.00/0.48/0.45)
49 | 8C | 49 | |
---|---|---|---|
RGB | 73 | 140 | 73 |
HSL | 120° | 31.46% | 41.76% |
HSB/HSV | 120° | 47.86% | 54.90% |
CMYK | 47.86% | 0.00% | 47.86% |
45.10% |
HEX | 49 | 8C | 49 |
Decimal | 73 | 140 | 73 |
Binary | 1001001 | 10001100 | 1001001 |
Octal | 111 | 214 | 111 |
Examples of css and html codes for elements with #498C49 color. Also use rgb(73,140,73) instead hex code.
.myTextColor { color: #498C49; }
<p style="color:#498C49">This sample text font color is #498C49.</p>
This text font color is #498C49.
.myBgColor { background-color: #498C49; }
<div style="background-color:#498C49">Inner text</div>
This div background color is #498C49.
.myBorderColor { border: 1px solid #498C49; }
<div style="border:3px solid #498C49">Div</div>
This div border color is #498C49.
.myOpacity80 { color: #498C49; opacity: 0.8; }
<p style="color:#498C49;opacity:0.8;">80%</p>
Text with #498C49 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498C49;}
<p style="text-shadow: 3px 3px 1px #498C49">Text here.</p>
This text has shadow with #498C49 color.
.textShadow {text-shadow: 3px 3px 1px #498C49, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498C49, 5px 5px 20px red">Text here.</p>
This text has shadow with #498C49 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498C49, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498C49, Direction=45, Strength=4)">Text</p>
This text has shadow with #498C49 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498C49; -webkit-box-shadow: 1px 1px 3px 2px #498C49; box-shadow: 1px 1px 3px 2px #498C49; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498C49; -webkit-box-shadow: 1px 1px 3px 2px #498C49; box-shadow:1px 1px 3px 2px #498C49;">
Div content here</div>
This text has color #498C49 on black background.
This text has color #498C49 on white background.
This text has black color on #498C49 background.
This text has white color on #498C49 background.