HEX: #498871
RGB: (73,136,113)
#498871 contains mainly green and blue colors. Web safe color of #498871 is #339966 (or #396).
#498871 color RGB value is (73,136,113).
RGB: (73,136,113) (29%,53%,44%)
R 73 of 255 = 29%
G 136 of 255 = 53%
B 113 of 255 = 44%
R + G + B ~ 42%. #498871 is middle color (not dark and not light).
R + G + B =
73 + 136 + 113 = 322 (100%)
R 73 of 322 ~ 22.67%
G 136 of 322 ~ 42.24%
B 113 of 322 ~ 35.09%
#498871 color CMYK value is (46,0,17,47).
CMYK: (46,0,17,47) C46M0Y17K47 (46%,0%,17%,47%) (0.46/0.00/0.17/0.47)
49 | 88 | 71 | |
---|---|---|---|
RGB | 73 | 136 | 113 |
HSL | 158° | 30.14% | 40.98% |
HSB/HSV | 158° | 46.32% | 53.33% |
CMYK | 46.32% | 0.00% | 16.91% |
46.67% |
HEX | 49 | 88 | 71 |
Decimal | 73 | 136 | 113 |
Binary | 1001001 | 10001000 | 1110001 |
Octal | 111 | 210 | 161 |
Examples of css and html codes for elements with #498871 color. Also use rgb(73,136,113) instead hex code.
.myTextColor { color: #498871; }
<p style="color:#498871">This sample text font color is #498871.</p>
This text font color is #498871.
.myBgColor { background-color: #498871; }
<div style="background-color:#498871">Inner text</div>
This div background color is #498871.
.myBorderColor { border: 1px solid #498871; }
<div style="border:3px solid #498871">Div</div>
This div border color is #498871.
.myOpacity80 { color: #498871; opacity: 0.8; }
<p style="color:#498871;opacity:0.8;">80%</p>
Text with #498871 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498871;}
<p style="text-shadow: 3px 3px 1px #498871">Text here.</p>
This text has shadow with #498871 color.
.textShadow {text-shadow: 3px 3px 1px #498871, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498871, 5px 5px 20px red">Text here.</p>
This text has shadow with #498871 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498871, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498871, Direction=45, Strength=4)">Text</p>
This text has shadow with #498871 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498871; -webkit-box-shadow: 1px 1px 3px 2px #498871; box-shadow: 1px 1px 3px 2px #498871; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498871; -webkit-box-shadow: 1px 1px 3px 2px #498871; box-shadow:1px 1px 3px 2px #498871;">
Div content here</div>
This text has color #498871 on black background.
This text has color #498871 on white background.
This text has black color on #498871 background.
This text has white color on #498871 background.