HEX: #8B9980
RGB: (139,153,128)
#8B9980 contains red, green and blue colors in about the same proportion. Web safe color of #8B9980 is #999966 (or #996).
#8B9980 color RGB value is (139,153,128).
RGB: (139,153,128) (55%,60%,50%)
R 139 of 255 = 55%
G 153 of 255 = 60%
B 128 of 255 = 50%
R + G + B ~ 55%. #8B9980 is middle color (not dark and not light).
R + G + B =
139 + 153 + 128 = 420 (100%)
R 139 of 420 ~ 33.1%
G 153 of 420 ~ 36.43%
B 128 of 420 ~ 30.48%
#8B9980 color CMYK value is (9,0,16,40).
CMYK: (9,0,16,40) C9M0Y16K40 (9%,0%,16%,40%) (0.09/0.00/0.16/0.40)
8B | 99 | 80 | |
---|---|---|---|
RGB | 139 | 153 | 128 |
HSL | 94° | 10.92% | 55.10% |
HSB/HSV | 94° | 16.34% | 60.00% |
CMYK | 9.15% | 0.00% | 16.34% |
40.00% |
HEX | 8B | 99 | 80 |
Decimal | 139 | 153 | 128 |
Binary | 10001011 | 10011001 | 10000000 |
Octal | 213 | 231 | 200 |
Examples of css and html codes for elements with #8B9980 color. Also use rgb(139,153,128) instead hex code.
.myTextColor { color: #8B9980; }
<p style="color:#8B9980">This sample text font color is #8B9980.</p>
This text font color is #8B9980.
.myBgColor { background-color: #8B9980; }
<div style="background-color:#8B9980">Inner text</div>
This div background color is #8B9980.
.myBorderColor { border: 1px solid #8B9980; }
<div style="border:3px solid #8B9980">Div</div>
This div border color is #8B9980.
.myOpacity80 { color: #8B9980; opacity: 0.8; }
<p style="color:#8B9980;opacity:0.8;">80%</p>
Text with #8B9980 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B9980;}
<p style="text-shadow: 3px 3px 1px #8B9980">Text here.</p>
This text has shadow with #8B9980 color.
.textShadow {text-shadow: 3px 3px 1px #8B9980, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B9980, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B9980 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B9980, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B9980, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B9980 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B9980; -webkit-box-shadow: 1px 1px 3px 2px #8B9980; box-shadow: 1px 1px 3px 2px #8B9980; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B9980; -webkit-box-shadow: 1px 1px 3px 2px #8B9980; box-shadow:1px 1px 3px 2px #8B9980;">
Div content here</div>
This text has color #8B9980 on black background.
This text has color #8B9980 on white background.
This text has black color on #8B9980 background.
This text has white color on #8B9980 background.