HEX: #AB796E
RGB: (171,121,110)
#AB796E contains mainly red and green colors. Web safe color of #AB796E is #996666 (or #966).
#AB796E color RGB value is (171,121,110).
RGB: (171,121,110) (67%,47%,43%)
R 171 of 255 = 67%
G 121 of 255 = 47%
B 110 of 255 = 43%
R + G + B ~ 52%. #AB796E is middle color (not dark and not light).
R + G + B =
171 + 121 + 110 = 402 (100%)
R 171 of 402 ~ 42.54%
G 121 of 402 ~ 30.1%
B 110 of 402 ~ 27.36%
#AB796E color CMYK value is (0,29,36,33).
CMYK: (0,29,36,33) C0M29Y36K33 (0%,29%,36%,33%) (0.00/0.29/0.36/0.33)
AB | 79 | 6E | |
---|---|---|---|
RGB | 171 | 121 | 110 |
HSL | 11° | 26.64% | 55.10% |
HSB/HSV | 11° | 35.67% | 67.06% |
CMYK | 0.00% | 29.24% | 35.67% |
32.94% |
HEX | AB | 79 | 6E |
Decimal | 171 | 121 | 110 |
Binary | 10101011 | 1111001 | 1101110 |
Octal | 253 | 171 | 156 |
Examples of css and html codes for elements with #AB796E color. Also use rgb(171,121,110) instead hex code.
.myTextColor { color: #AB796E; }
<p style="color:#AB796E">This sample text font color is #AB796E.</p>
This text font color is #AB796E.
.myBgColor { background-color: #AB796E; }
<div style="background-color:#AB796E">Inner text</div>
This div background color is #AB796E.
.myBorderColor { border: 1px solid #AB796E; }
<div style="border:3px solid #AB796E">Div</div>
This div border color is #AB796E.
.myOpacity80 { color: #AB796E; opacity: 0.8; }
<p style="color:#AB796E;opacity:0.8;">80%</p>
Text with #AB796E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB796E;}
<p style="text-shadow: 3px 3px 1px #AB796E">Text here.</p>
This text has shadow with #AB796E color.
.textShadow {text-shadow: 3px 3px 1px #AB796E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB796E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB796E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB796E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB796E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB796E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB796E; -webkit-box-shadow: 1px 1px 3px 2px #AB796E; box-shadow: 1px 1px 3px 2px #AB796E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB796E; -webkit-box-shadow: 1px 1px 3px 2px #AB796E; box-shadow:1px 1px 3px 2px #AB796E;">
Div content here</div>
This text has color #AB796E on black background.
This text has color #AB796E on white background.
This text has black color on #AB796E background.
This text has white color on #AB796E background.