HEX: #998887
RGB: (153,136,135)
#998887 contains red, green and blue colors in about the same proportion. Web safe color of #998887 is #999999 (or #999).
#998887 color RGB value is (153,136,135).
RGB: (153,136,135) (60%,53%,53%)
R 153 of 255 = 60%
G 136 of 255 = 53%
B 135 of 255 = 53%
R + G + B ~ 55%. #998887 is middle color (not dark and not light).
R + G + B =
153 + 136 + 135 = 424 (100%)
R 153 of 424 ~ 36.08%
G 136 of 424 ~ 32.08%
B 135 of 424 ~ 31.84%
#998887 color CMYK value is (0,11,12,40).
CMYK: (0,11,12,40) C0M11Y12K40 (0%,11%,12%,40%) (0.00/0.11/0.12/0.40)
99 | 88 | 87 | |
---|---|---|---|
RGB | 153 | 136 | 135 |
HSL | 3° | 8.11% | 56.47% |
HSB/HSV | 3° | 11.76% | 60.00% |
CMYK | 0.00% | 11.11% | 11.76% |
40.00% |
HEX | 99 | 88 | 87 |
Decimal | 153 | 136 | 135 |
Binary | 10011001 | 10001000 | 10000111 |
Octal | 231 | 210 | 207 |
Examples of css and html codes for elements with #998887 color. Also use rgb(153,136,135) instead hex code.
.myTextColor { color: #998887; }
<p style="color:#998887">This sample text font color is #998887.</p>
This text font color is #998887.
.myBgColor { background-color: #998887; }
<div style="background-color:#998887">Inner text</div>
This div background color is #998887.
.myBorderColor { border: 1px solid #998887; }
<div style="border:3px solid #998887">Div</div>
This div border color is #998887.
.myOpacity80 { color: #998887; opacity: 0.8; }
<p style="color:#998887;opacity:0.8;">80%</p>
Text with #998887 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998887;}
<p style="text-shadow: 3px 3px 1px #998887">Text here.</p>
This text has shadow with #998887 color.
.textShadow {text-shadow: 3px 3px 1px #998887, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998887, 5px 5px 20px red">Text here.</p>
This text has shadow with #998887 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998887, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998887, Direction=45, Strength=4)">Text</p>
This text has shadow with #998887 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998887; -webkit-box-shadow: 1px 1px 3px 2px #998887; box-shadow: 1px 1px 3px 2px #998887; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998887; -webkit-box-shadow: 1px 1px 3px 2px #998887; box-shadow:1px 1px 3px 2px #998887;">
Div content here</div>
This text has color #998887 on black background.
This text has color #998887 on white background.
This text has black color on #998887 background.
This text has white color on #998887 background.