HEX: #998A8D
RGB: (153,138,141)
#998A8D contains red, green and blue colors in about the same proportion. Web safe color of #998A8D is #999999 (or #999).
#998A8D color RGB value is (153,138,141).
RGB: (153,138,141) (60%,54%,55%)
R 153 of 255 = 60%
G 138 of 255 = 54%
B 141 of 255 = 55%
R + G + B ~ 56%. #998A8D is middle color (not dark and not light).
R + G + B =
153 + 138 + 141 = 432 (100%)
R 153 of 432 ~ 35.42%
G 138 of 432 ~ 31.94%
B 141 of 432 ~ 32.64%
#998A8D color CMYK value is (0,10,8,40).
CMYK: (0,10,8,40) C0M10Y8K40 (0%,10%,8%,40%) (0.00/0.10/0.08/0.40)
99 | 8A | 8D | |
---|---|---|---|
RGB | 153 | 138 | 141 |
HSL | 348° | 6.85% | 57.06% |
HSB/HSV | 348° | 9.80% | 60.00% |
CMYK | 0.00% | 9.80% | 7.84% |
40.00% |
HEX | 99 | 8A | 8D |
Decimal | 153 | 138 | 141 |
Binary | 10011001 | 10001010 | 10001101 |
Octal | 231 | 212 | 215 |
Examples of css and html codes for elements with #998A8D color. Also use rgb(153,138,141) instead hex code.
.myTextColor { color: #998A8D; }
<p style="color:#998A8D">This sample text font color is #998A8D.</p>
This text font color is #998A8D.
.myBgColor { background-color: #998A8D; }
<div style="background-color:#998A8D">Inner text</div>
This div background color is #998A8D.
.myBorderColor { border: 1px solid #998A8D; }
<div style="border:3px solid #998A8D">Div</div>
This div border color is #998A8D.
.myOpacity80 { color: #998A8D; opacity: 0.8; }
<p style="color:#998A8D;opacity:0.8;">80%</p>
Text with #998A8D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998A8D;}
<p style="text-shadow: 3px 3px 1px #998A8D">Text here.</p>
This text has shadow with #998A8D color.
.textShadow {text-shadow: 3px 3px 1px #998A8D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998A8D, 5px 5px 20px red">Text here.</p>
This text has shadow with #998A8D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998A8D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998A8D, Direction=45, Strength=4)">Text</p>
This text has shadow with #998A8D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998A8D; -webkit-box-shadow: 1px 1px 3px 2px #998A8D; box-shadow: 1px 1px 3px 2px #998A8D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998A8D; -webkit-box-shadow: 1px 1px 3px 2px #998A8D; box-shadow:1px 1px 3px 2px #998A8D;">
Div content here</div>
This text has color #998A8D on black background.
This text has color #998A8D on white background.
This text has black color on #998A8D background.
This text has white color on #998A8D background.