HEX: #498B4A
RGB: (73,139,74)
#498B4A contains mainly green color. Web safe color of #498B4A is #339933 (or #393).
#498B4A color RGB value is (73,139,74).
RGB: (73,139,74) (29%,55%,29%)
R 73 of 255 = 29%
G 139 of 255 = 55%
B 74 of 255 = 29%
R + G + B ~ 38%. #498B4A is quite dark color.
R + G + B =
73 + 139 + 74 = 286 (100%)
R 73 of 286 ~ 25.52%
G 139 of 286 ~ 48.6%
B 74 of 286 ~ 25.87%
#498B4A color CMYK value is (47,0,47,45).
CMYK: (47,0,47,45) C47M0Y47K45 (47%,0%,47%,45%) (0.47/0.00/0.47/0.45)
49 | 8B | 4A | |
---|---|---|---|
RGB | 73 | 139 | 74 |
HSL | 121° | 31.13% | 41.57% |
HSB/HSV | 121° | 47.48% | 54.51% |
CMYK | 47.48% | 0.00% | 46.76% |
45.49% |
HEX | 49 | 8B | 4A |
Decimal | 73 | 139 | 74 |
Binary | 1001001 | 10001011 | 1001010 |
Octal | 111 | 213 | 112 |
Examples of css and html codes for elements with #498B4A color. Also use rgb(73,139,74) instead hex code.
.myTextColor { color: #498B4A; }
<p style="color:#498B4A">This sample text font color is #498B4A.</p>
This text font color is #498B4A.
.myBgColor { background-color: #498B4A; }
<div style="background-color:#498B4A">Inner text</div>
This div background color is #498B4A.
.myBorderColor { border: 1px solid #498B4A; }
<div style="border:3px solid #498B4A">Div</div>
This div border color is #498B4A.
.myOpacity80 { color: #498B4A; opacity: 0.8; }
<p style="color:#498B4A;opacity:0.8;">80%</p>
Text with #498B4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498B4A;}
<p style="text-shadow: 3px 3px 1px #498B4A">Text here.</p>
This text has shadow with #498B4A color.
.textShadow {text-shadow: 3px 3px 1px #498B4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498B4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #498B4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498B4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498B4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #498B4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498B4A; -webkit-box-shadow: 1px 1px 3px 2px #498B4A; box-shadow: 1px 1px 3px 2px #498B4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498B4A; -webkit-box-shadow: 1px 1px 3px 2px #498B4A; box-shadow:1px 1px 3px 2px #498B4A;">
Div content here</div>
This text has color #498B4A on black background.
This text has color #498B4A on white background.
This text has black color on #498B4A background.
This text has white color on #498B4A background.