HEX: #498158
RGB: (73,129,88)
#498158 contains red, green and blue colors in about the same proportion. Web safe color of #498158 is #339966 (or #396).
#498158 color RGB value is (73,129,88).
RGB: (73,129,88) (29%,51%,35%)
R 73 of 255 = 29%
G 129 of 255 = 51%
B 88 of 255 = 35%
R + G + B ~ 38%. #498158 is quite dark color.
R + G + B =
73 + 129 + 88 = 290 (100%)
R 73 of 290 ~ 25.17%
G 129 of 290 ~ 44.48%
B 88 of 290 ~ 30.34%
#498158 color CMYK value is (43,0,32,49).
CMYK: (43,0,32,49) C43M0Y32K49 (43%,0%,32%,49%) (0.43/0.00/0.32/0.49)
49 | 81 | 58 | |
---|---|---|---|
RGB | 73 | 129 | 88 |
HSL | 136° | 27.72% | 39.61% |
HSB/HSV | 136° | 43.41% | 50.59% |
CMYK | 43.41% | 0.00% | 31.78% |
49.41% |
HEX | 49 | 81 | 58 |
Decimal | 73 | 129 | 88 |
Binary | 1001001 | 10000001 | 1011000 |
Octal | 111 | 201 | 130 |
Examples of css and html codes for elements with #498158 color. Also use rgb(73,129,88) instead hex code.
.myTextColor { color: #498158; }
<p style="color:#498158">This sample text font color is #498158.</p>
This text font color is #498158.
.myBgColor { background-color: #498158; }
<div style="background-color:#498158">Inner text</div>
This div background color is #498158.
.myBorderColor { border: 1px solid #498158; }
<div style="border:3px solid #498158">Div</div>
This div border color is #498158.
.myOpacity80 { color: #498158; opacity: 0.8; }
<p style="color:#498158;opacity:0.8;">80%</p>
Text with #498158 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498158;}
<p style="text-shadow: 3px 3px 1px #498158">Text here.</p>
This text has shadow with #498158 color.
.textShadow {text-shadow: 3px 3px 1px #498158, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498158, 5px 5px 20px red">Text here.</p>
This text has shadow with #498158 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498158, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498158, Direction=45, Strength=4)">Text</p>
This text has shadow with #498158 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498158; -webkit-box-shadow: 1px 1px 3px 2px #498158; box-shadow: 1px 1px 3px 2px #498158; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498158; -webkit-box-shadow: 1px 1px 3px 2px #498158; box-shadow:1px 1px 3px 2px #498158;">
Div content here</div>
This text has color #498158 on black background.
This text has color #498158 on white background.
This text has black color on #498158 background.
This text has white color on #498158 background.