HEX: #98B459
RGB: (152,180,89)
#98B459 contains mainly red and green colors. Web safe color of #98B459 is #99CC66 (or #9C6).
#98B459 color RGB value is (152,180,89).
RGB: (152,180,89) (60%,71%,35%)
R 152 of 255 = 60%
G 180 of 255 = 71%
B 89 of 255 = 35%
R + G + B ~ 55%. #98B459 is middle color (not dark and not light).
R + G + B =
152 + 180 + 89 = 421 (100%)
R 152 of 421 ~ 36.1%
G 180 of 421 ~ 42.76%
B 89 of 421 ~ 21.14%
#98B459 color CMYK value is (16,0,51,29).
CMYK: (16,0,51,29) C16M0Y51K29 (16%,0%,51%,29%) (0.16/0.00/0.51/0.29)
98 | B4 | 59 | |
---|---|---|---|
RGB | 152 | 180 | 89 |
HSL | 78° | 37.76% | 52.75% |
HSB/HSV | 78° | 50.56% | 70.59% |
CMYK | 15.56% | 0.00% | 50.56% |
29.41% |
HEX | 98 | B4 | 59 |
Decimal | 152 | 180 | 89 |
Binary | 10011000 | 10110100 | 1011001 |
Octal | 230 | 264 | 131 |
Examples of css and html codes for elements with #98B459 color. Also use rgb(152,180,89) instead hex code.
.myTextColor { color: #98B459; }
<p style="color:#98B459">This sample text font color is #98B459.</p>
This text font color is #98B459.
.myBgColor { background-color: #98B459; }
<div style="background-color:#98B459">Inner text</div>
This div background color is #98B459.
.myBorderColor { border: 1px solid #98B459; }
<div style="border:3px solid #98B459">Div</div>
This div border color is #98B459.
.myOpacity80 { color: #98B459; opacity: 0.8; }
<p style="color:#98B459;opacity:0.8;">80%</p>
Text with #98B459 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #98B459;}
<p style="text-shadow: 3px 3px 1px #98B459">Text here.</p>
This text has shadow with #98B459 color.
.textShadow {text-shadow: 3px 3px 1px #98B459, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #98B459, 5px 5px 20px red">Text here.</p>
This text has shadow with #98B459 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#98B459, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#98B459, Direction=45, Strength=4)">Text</p>
This text has shadow with #98B459 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #98B459; -webkit-box-shadow: 1px 1px 3px 2px #98B459; box-shadow: 1px 1px 3px 2px #98B459; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #98B459; -webkit-box-shadow: 1px 1px 3px 2px #98B459; box-shadow:1px 1px 3px 2px #98B459;">
Div content here</div>
This text has color #98B459 on black background.
This text has color #98B459 on white background.
This text has black color on #98B459 background.
This text has white color on #98B459 background.