HEX: #988C48
RGB: (152,140,72)
#988C48 contains mainly red and green colors. Web safe color of #988C48 is #999933 (or #993).
#988C48 color RGB value is (152,140,72).
RGB: (152,140,72) (60%,55%,28%)
R 152 of 255 = 60%
G 140 of 255 = 55%
B 72 of 255 = 28%
R + G + B ~ 48%. #988C48 is middle color (not dark and not light).
R + G + B =
152 + 140 + 72 = 364 (100%)
R 152 of 364 ~ 41.76%
G 140 of 364 ~ 38.46%
B 72 of 364 ~ 19.78%
#988C48 color CMYK value is (0,8,53,40).
CMYK: (0,8,53,40) C0M8Y53K40 (0%,8%,53%,40%) (0.00/0.08/0.53/0.40)
98 | 8C | 48 | |
---|---|---|---|
RGB | 152 | 140 | 72 |
HSL | 51° | 35.71% | 43.92% |
HSB/HSV | 51° | 52.63% | 59.61% |
CMYK | 0.00% | 7.89% | 52.63% |
40.39% |
HEX | 98 | 8C | 48 |
Decimal | 152 | 140 | 72 |
Binary | 10011000 | 10001100 | 1001000 |
Octal | 230 | 214 | 110 |
Examples of css and html codes for elements with #988C48 color. Also use rgb(152,140,72) instead hex code.
.myTextColor { color: #988C48; }
<p style="color:#988C48">This sample text font color is #988C48.</p>
This text font color is #988C48.
.myBgColor { background-color: #988C48; }
<div style="background-color:#988C48">Inner text</div>
This div background color is #988C48.
.myBorderColor { border: 1px solid #988C48; }
<div style="border:3px solid #988C48">Div</div>
This div border color is #988C48.
.myOpacity80 { color: #988C48; opacity: 0.8; }
<p style="color:#988C48;opacity:0.8;">80%</p>
Text with #988C48 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988C48;}
<p style="text-shadow: 3px 3px 1px #988C48">Text here.</p>
This text has shadow with #988C48 color.
.textShadow {text-shadow: 3px 3px 1px #988C48, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988C48, 5px 5px 20px red">Text here.</p>
This text has shadow with #988C48 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988C48, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988C48, Direction=45, Strength=4)">Text</p>
This text has shadow with #988C48 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988C48; -webkit-box-shadow: 1px 1px 3px 2px #988C48; box-shadow: 1px 1px 3px 2px #988C48; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988C48; -webkit-box-shadow: 1px 1px 3px 2px #988C48; box-shadow:1px 1px 3px 2px #988C48;">
Div content here</div>
This text has color #988C48 on black background.
This text has color #988C48 on white background.
This text has black color on #988C48 background.
This text has white color on #988C48 background.