HEX: #8B987D
RGB: (139,152,125)
#8B987D contains red, green and blue colors in about the same proportion. Web safe color of #8B987D is #999966 (or #996).
#8B987D color RGB value is (139,152,125).
RGB: (139,152,125) (55%,60%,49%)
R 139 of 255 = 55%
G 152 of 255 = 60%
B 125 of 255 = 49%
R + G + B ~ 55%. #8B987D is middle color (not dark and not light).
R + G + B =
139 + 152 + 125 = 416 (100%)
R 139 of 416 ~ 33.41%
G 152 of 416 ~ 36.54%
B 125 of 416 ~ 30.05%
#8B987D color CMYK value is (9,0,18,40).
CMYK: (9,0,18,40) C9M0Y18K40 (9%,0%,18%,40%) (0.09/0.00/0.18/0.40)
8B | 98 | 7D | |
---|---|---|---|
RGB | 139 | 152 | 125 |
HSL | 89° | 11.59% | 54.31% |
HSB/HSV | 89° | 17.76% | 59.61% |
CMYK | 8.55% | 0.00% | 17.76% |
40.39% |
HEX | 8B | 98 | 7D |
Decimal | 139 | 152 | 125 |
Binary | 10001011 | 10011000 | 1111101 |
Octal | 213 | 230 | 175 |
Examples of css and html codes for elements with #8B987D color. Also use rgb(139,152,125) instead hex code.
.myTextColor { color: #8B987D; }
<p style="color:#8B987D">This sample text font color is #8B987D.</p>
This text font color is #8B987D.
.myBgColor { background-color: #8B987D; }
<div style="background-color:#8B987D">Inner text</div>
This div background color is #8B987D.
.myBorderColor { border: 1px solid #8B987D; }
<div style="border:3px solid #8B987D">Div</div>
This div border color is #8B987D.
.myOpacity80 { color: #8B987D; opacity: 0.8; }
<p style="color:#8B987D;opacity:0.8;">80%</p>
Text with #8B987D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B987D;}
<p style="text-shadow: 3px 3px 1px #8B987D">Text here.</p>
This text has shadow with #8B987D color.
.textShadow {text-shadow: 3px 3px 1px #8B987D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B987D, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B987D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B987D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B987D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B987D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B987D; -webkit-box-shadow: 1px 1px 3px 2px #8B987D; box-shadow: 1px 1px 3px 2px #8B987D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B987D; -webkit-box-shadow: 1px 1px 3px 2px #8B987D; box-shadow:1px 1px 3px 2px #8B987D;">
Div content here</div>
This text has color #8B987D on black background.
This text has color #8B987D on white background.
This text has black color on #8B987D background.
This text has white color on #8B987D background.