HEX: #988A6E
RGB: (152,138,110)
#988A6E contains red, green and blue colors in about the same proportion. Web safe color of #988A6E is #999966 (or #996).
#988A6E color RGB value is (152,138,110).
RGB: (152,138,110) (60%,54%,43%)
R 152 of 255 = 60%
G 138 of 255 = 54%
B 110 of 255 = 43%
R + G + B ~ 52%. #988A6E is middle color (not dark and not light).
R + G + B =
152 + 138 + 110 = 400 (100%)
R 152 of 400 ~ 38%
G 138 of 400 ~ 34.5%
B 110 of 400 ~ 27.5%
#988A6E color CMYK value is (0,9,28,40).
CMYK: (0,9,28,40) C0M9Y28K40 (0%,9%,28%,40%) (0.00/0.09/0.28/0.40)
98 | 8A | 6E | |
---|---|---|---|
RGB | 152 | 138 | 110 |
HSL | 40° | 16.94% | 51.37% |
HSB/HSV | 40° | 27.63% | 59.61% |
CMYK | 0.00% | 9.21% | 27.63% |
40.39% |
HEX | 98 | 8A | 6E |
Decimal | 152 | 138 | 110 |
Binary | 10011000 | 10001010 | 1101110 |
Octal | 230 | 212 | 156 |
Examples of css and html codes for elements with #988A6E color. Also use rgb(152,138,110) instead hex code.
.myTextColor { color: #988A6E; }
<p style="color:#988A6E">This sample text font color is #988A6E.</p>
This text font color is #988A6E.
.myBgColor { background-color: #988A6E; }
<div style="background-color:#988A6E">Inner text</div>
This div background color is #988A6E.
.myBorderColor { border: 1px solid #988A6E; }
<div style="border:3px solid #988A6E">Div</div>
This div border color is #988A6E.
.myOpacity80 { color: #988A6E; opacity: 0.8; }
<p style="color:#988A6E;opacity:0.8;">80%</p>
Text with #988A6E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988A6E;}
<p style="text-shadow: 3px 3px 1px #988A6E">Text here.</p>
This text has shadow with #988A6E color.
.textShadow {text-shadow: 3px 3px 1px #988A6E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988A6E, 5px 5px 20px red">Text here.</p>
This text has shadow with #988A6E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988A6E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988A6E, Direction=45, Strength=4)">Text</p>
This text has shadow with #988A6E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988A6E; -webkit-box-shadow: 1px 1px 3px 2px #988A6E; box-shadow: 1px 1px 3px 2px #988A6E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988A6E; -webkit-box-shadow: 1px 1px 3px 2px #988A6E; box-shadow:1px 1px 3px 2px #988A6E;">
Div content here</div>
This text has color #988A6E on black background.
This text has color #988A6E on white background.
This text has black color on #988A6E background.
This text has white color on #988A6E background.