HEX: #AB987D
RGB: (171,152,125)
#AB987D contains red, green and blue colors in about the same proportion. Web safe color of #AB987D is #999966 (or #996).
#AB987D color RGB value is (171,152,125).
RGB: (171,152,125) (67%,60%,49%)
R 171 of 255 = 67%
G 152 of 255 = 60%
B 125 of 255 = 49%
R + G + B ~ 59%. #AB987D is middle color (not dark and not light).
R + G + B =
171 + 152 + 125 = 448 (100%)
R 171 of 448 ~ 38.17%
G 152 of 448 ~ 33.93%
B 125 of 448 ~ 27.9%
#AB987D color CMYK value is (0,11,27,33).
CMYK: (0,11,27,33) C0M11Y27K33 (0%,11%,27%,33%) (0.00/0.11/0.27/0.33)
AB | 98 | 7D | |
---|---|---|---|
RGB | 171 | 152 | 125 |
HSL | 35° | 21.50% | 58.04% |
HSB/HSV | 35° | 26.90% | 67.06% |
CMYK | 0.00% | 11.11% | 26.90% |
32.94% |
HEX | AB | 98 | 7D |
Decimal | 171 | 152 | 125 |
Binary | 10101011 | 10011000 | 1111101 |
Octal | 253 | 230 | 175 |
Examples of css and html codes for elements with #AB987D color. Also use rgb(171,152,125) instead hex code.
.myTextColor { color: #AB987D; }
<p style="color:#AB987D">This sample text font color is #AB987D.</p>
This text font color is #AB987D.
.myBgColor { background-color: #AB987D; }
<div style="background-color:#AB987D">Inner text</div>
This div background color is #AB987D.
.myBorderColor { border: 1px solid #AB987D; }
<div style="border:3px solid #AB987D">Div</div>
This div border color is #AB987D.
.myOpacity80 { color: #AB987D; opacity: 0.8; }
<p style="color:#AB987D;opacity:0.8;">80%</p>
Text with #AB987D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB987D;}
<p style="text-shadow: 3px 3px 1px #AB987D">Text here.</p>
This text has shadow with #AB987D color.
.textShadow {text-shadow: 3px 3px 1px #AB987D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB987D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB987D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB987D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB987D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB987D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB987D; -webkit-box-shadow: 1px 1px 3px 2px #AB987D; box-shadow: 1px 1px 3px 2px #AB987D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB987D; -webkit-box-shadow: 1px 1px 3px 2px #AB987D; box-shadow:1px 1px 3px 2px #AB987D;">
Div content here</div>
This text has color #AB987D on black background.
This text has color #AB987D on white background.
This text has black color on #AB987D background.
This text has white color on #AB987D background.