HEX: #998495
RGB: (153,132,149)
#998495 contains red, green and blue colors in about the same proportion. Web safe color of #998495 is #999999 (or #999).
#998495 color RGB value is (153,132,149).
RGB: (153,132,149) (60%,52%,58%)
R 153 of 255 = 60%
G 132 of 255 = 52%
B 149 of 255 = 58%
R + G + B ~ 57%. #998495 is middle color (not dark and not light).
R + G + B =
153 + 132 + 149 = 434 (100%)
R 153 of 434 ~ 35.25%
G 132 of 434 ~ 30.41%
B 149 of 434 ~ 34.33%
#998495 color CMYK value is (0,14,3,40).
CMYK: (0,14,3,40) C0M14Y3K40 (0%,14%,3%,40%) (0.00/0.14/0.03/0.40)
99 | 84 | 95 | |
---|---|---|---|
RGB | 153 | 132 | 149 |
HSL | 311° | 9.33% | 55.88% |
HSB/HSV | 311° | 13.73% | 60.00% |
CMYK | 0.00% | 13.73% | 2.61% |
40.00% |
HEX | 99 | 84 | 95 |
Decimal | 153 | 132 | 149 |
Binary | 10011001 | 10000100 | 10010101 |
Octal | 231 | 204 | 225 |
Examples of css and html codes for elements with #998495 color. Also use rgb(153,132,149) instead hex code.
.myTextColor { color: #998495; }
<p style="color:#998495">This sample text font color is #998495.</p>
This text font color is #998495.
.myBgColor { background-color: #998495; }
<div style="background-color:#998495">Inner text</div>
This div background color is #998495.
.myBorderColor { border: 1px solid #998495; }
<div style="border:3px solid #998495">Div</div>
This div border color is #998495.
.myOpacity80 { color: #998495; opacity: 0.8; }
<p style="color:#998495;opacity:0.8;">80%</p>
Text with #998495 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998495;}
<p style="text-shadow: 3px 3px 1px #998495">Text here.</p>
This text has shadow with #998495 color.
.textShadow {text-shadow: 3px 3px 1px #998495, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998495, 5px 5px 20px red">Text here.</p>
This text has shadow with #998495 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998495, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998495, Direction=45, Strength=4)">Text</p>
This text has shadow with #998495 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998495; -webkit-box-shadow: 1px 1px 3px 2px #998495; box-shadow: 1px 1px 3px 2px #998495; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998495; -webkit-box-shadow: 1px 1px 3px 2px #998495; box-shadow:1px 1px 3px 2px #998495;">
Div content here</div>
This text has color #998495 on black background.
This text has color #998495 on white background.
This text has black color on #998495 background.
This text has white color on #998495 background.