HEX: #988B8F
RGB: (152,139,143)
#988B8F contains red, green and blue colors in about the same proportion. Web safe color of #988B8F is #999999 (or #999).
#988B8F color RGB value is (152,139,143).
RGB: (152,139,143) (60%,55%,56%)
R 152 of 255 = 60%
G 139 of 255 = 55%
B 143 of 255 = 56%
R + G + B ~ 57%. #988B8F is middle color (not dark and not light).
R + G + B =
152 + 139 + 143 = 434 (100%)
R 152 of 434 ~ 35.02%
G 139 of 434 ~ 32.03%
B 143 of 434 ~ 32.95%
#988B8F color CMYK value is (0,9,6,40).
CMYK: (0,9,6,40) C0M9Y6K40 (0%,9%,6%,40%) (0.00/0.09/0.06/0.40)
98 | 8B | 8F | |
---|---|---|---|
RGB | 152 | 139 | 143 |
HSL | 342° | 5.94% | 57.06% |
HSB/HSV | 342° | 8.55% | 59.61% |
CMYK | 0.00% | 8.55% | 5.92% |
40.39% |
HEX | 98 | 8B | 8F |
Decimal | 152 | 139 | 143 |
Binary | 10011000 | 10001011 | 10001111 |
Octal | 230 | 213 | 217 |
Examples of css and html codes for elements with #988B8F color. Also use rgb(152,139,143) instead hex code.
.myTextColor { color: #988B8F; }
<p style="color:#988B8F">This sample text font color is #988B8F.</p>
This text font color is #988B8F.
.myBgColor { background-color: #988B8F; }
<div style="background-color:#988B8F">Inner text</div>
This div background color is #988B8F.
.myBorderColor { border: 1px solid #988B8F; }
<div style="border:3px solid #988B8F">Div</div>
This div border color is #988B8F.
.myOpacity80 { color: #988B8F; opacity: 0.8; }
<p style="color:#988B8F;opacity:0.8;">80%</p>
Text with #988B8F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988B8F;}
<p style="text-shadow: 3px 3px 1px #988B8F">Text here.</p>
This text has shadow with #988B8F color.
.textShadow {text-shadow: 3px 3px 1px #988B8F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988B8F, 5px 5px 20px red">Text here.</p>
This text has shadow with #988B8F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988B8F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988B8F, Direction=45, Strength=4)">Text</p>
This text has shadow with #988B8F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988B8F; -webkit-box-shadow: 1px 1px 3px 2px #988B8F; box-shadow: 1px 1px 3px 2px #988B8F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988B8F; -webkit-box-shadow: 1px 1px 3px 2px #988B8F; box-shadow:1px 1px 3px 2px #988B8F;">
Div content here</div>
This text has color #988B8F on black background.
This text has color #988B8F on white background.
This text has black color on #988B8F background.
This text has white color on #988B8F background.