HEX: #988B40
RGB: (152,139,64)
#988B40 contains mainly red and green colors. Web safe color of #988B40 is #999933 (or #993).
#988B40 color RGB value is (152,139,64).
RGB: (152,139,64) (60%,55%,25%)
R 152 of 255 = 60%
G 139 of 255 = 55%
B 64 of 255 = 25%
R + G + B ~ 47%. #988B40 is middle color (not dark and not light).
R + G + B =
152 + 139 + 64 = 355 (100%)
R 152 of 355 ~ 42.82%
G 139 of 355 ~ 39.15%
B 64 of 355 ~ 18.03%
#988B40 color CMYK value is (0,9,58,40).
CMYK: (0,9,58,40) C0M9Y58K40 (0%,9%,58%,40%) (0.00/0.09/0.58/0.40)
98 | 8B | 40 | |
---|---|---|---|
RGB | 152 | 139 | 64 |
HSL | 51° | 40.74% | 42.35% |
HSB/HSV | 51° | 57.89% | 59.61% |
CMYK | 0.00% | 8.55% | 57.89% |
40.39% |
HEX | 98 | 8B | 40 |
Decimal | 152 | 139 | 64 |
Binary | 10011000 | 10001011 | 1000000 |
Octal | 230 | 213 | 100 |
Examples of css and html codes for elements with #988B40 color. Also use rgb(152,139,64) instead hex code.
.myTextColor { color: #988B40; }
<p style="color:#988B40">This sample text font color is #988B40.</p>
This text font color is #988B40.
.myBgColor { background-color: #988B40; }
<div style="background-color:#988B40">Inner text</div>
This div background color is #988B40.
.myBorderColor { border: 1px solid #988B40; }
<div style="border:3px solid #988B40">Div</div>
This div border color is #988B40.
.myOpacity80 { color: #988B40; opacity: 0.8; }
<p style="color:#988B40;opacity:0.8;">80%</p>
Text with #988B40 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988B40;}
<p style="text-shadow: 3px 3px 1px #988B40">Text here.</p>
This text has shadow with #988B40 color.
.textShadow {text-shadow: 3px 3px 1px #988B40, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988B40, 5px 5px 20px red">Text here.</p>
This text has shadow with #988B40 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988B40, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988B40, Direction=45, Strength=4)">Text</p>
This text has shadow with #988B40 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988B40; -webkit-box-shadow: 1px 1px 3px 2px #988B40; box-shadow: 1px 1px 3px 2px #988B40; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988B40; -webkit-box-shadow: 1px 1px 3px 2px #988B40; box-shadow:1px 1px 3px 2px #988B40;">
Div content here</div>
This text has color #988B40 on black background.
This text has color #988B40 on white background.
This text has black color on #988B40 background.
This text has white color on #988B40 background.