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