HEX: #AB997A
RGB: (171,153,122)
#AB997A contains red, green and blue colors in about the same proportion. Web safe color of #AB997A is #999966 (or #996).
#AB997A color RGB value is (171,153,122).
RGB: (171,153,122) (67%,60%,48%)
R 171 of 255 = 67%
G 153 of 255 = 60%
B 122 of 255 = 48%
R + G + B ~ 58%. #AB997A is middle color (not dark and not light).
R + G + B =
171 + 153 + 122 = 446 (100%)
R 171 of 446 ~ 38.34%
G 153 of 446 ~ 34.3%
B 122 of 446 ~ 27.35%
#AB997A color CMYK value is (0,11,29,33).
CMYK: (0,11,29,33) C0M11Y29K33 (0%,11%,29%,33%) (0.00/0.11/0.29/0.33)
AB | 99 | 7A | |
---|---|---|---|
RGB | 171 | 153 | 122 |
HSL | 38° | 22.58% | 57.45% |
HSB/HSV | 38° | 28.65% | 67.06% |
CMYK | 0.00% | 10.53% | 28.65% |
32.94% |
HEX | AB | 99 | 7A |
Decimal | 171 | 153 | 122 |
Binary | 10101011 | 10011001 | 1111010 |
Octal | 253 | 231 | 172 |
Examples of css and html codes for elements with #AB997A color. Also use rgb(171,153,122) instead hex code.
.myTextColor { color: #AB997A; }
<p style="color:#AB997A">This sample text font color is #AB997A.</p>
This text font color is #AB997A.
.myBgColor { background-color: #AB997A; }
<div style="background-color:#AB997A">Inner text</div>
This div background color is #AB997A.
.myBorderColor { border: 1px solid #AB997A; }
<div style="border:3px solid #AB997A">Div</div>
This div border color is #AB997A.
.myOpacity80 { color: #AB997A; opacity: 0.8; }
<p style="color:#AB997A;opacity:0.8;">80%</p>
Text with #AB997A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB997A;}
<p style="text-shadow: 3px 3px 1px #AB997A">Text here.</p>
This text has shadow with #AB997A color.
.textShadow {text-shadow: 3px 3px 1px #AB997A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB997A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB997A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB997A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB997A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB997A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB997A; -webkit-box-shadow: 1px 1px 3px 2px #AB997A; box-shadow: 1px 1px 3px 2px #AB997A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB997A; -webkit-box-shadow: 1px 1px 3px 2px #AB997A; box-shadow:1px 1px 3px 2px #AB997A;">
Div content here</div>
This text has color #AB997A on black background.
This text has color #AB997A on white background.
This text has black color on #AB997A background.
This text has white color on #AB997A background.