HEX: #AB876C
RGB: (171,135,108)
#AB876C contains mainly red and green colors. Web safe color of #AB876C is #999966 (or #996).
#AB876C color RGB value is (171,135,108).
RGB: (171,135,108) (67%,53%,42%)
R 171 of 255 = 67%
G 135 of 255 = 53%
B 108 of 255 = 42%
R + G + B ~ 54%. #AB876C is middle color (not dark and not light).
R + G + B =
171 + 135 + 108 = 414 (100%)
R 171 of 414 ~ 41.3%
G 135 of 414 ~ 32.61%
B 108 of 414 ~ 26.09%
#AB876C color CMYK value is (0,21,37,33).
CMYK: (0,21,37,33) C0M21Y37K33 (0%,21%,37%,33%) (0.00/0.21/0.37/0.33)
AB | 87 | 6C | |
---|---|---|---|
RGB | 171 | 135 | 108 |
HSL | 26° | 27.27% | 54.71% |
HSB/HSV | 26° | 36.84% | 67.06% |
CMYK | 0.00% | 21.05% | 36.84% |
32.94% |
HEX | AB | 87 | 6C |
Decimal | 171 | 135 | 108 |
Binary | 10101011 | 10000111 | 1101100 |
Octal | 253 | 207 | 154 |
Examples of css and html codes for elements with #AB876C color. Also use rgb(171,135,108) instead hex code.
.myTextColor { color: #AB876C; }
<p style="color:#AB876C">This sample text font color is #AB876C.</p>
This text font color is #AB876C.
.myBgColor { background-color: #AB876C; }
<div style="background-color:#AB876C">Inner text</div>
This div background color is #AB876C.
.myBorderColor { border: 1px solid #AB876C; }
<div style="border:3px solid #AB876C">Div</div>
This div border color is #AB876C.
.myOpacity80 { color: #AB876C; opacity: 0.8; }
<p style="color:#AB876C;opacity:0.8;">80%</p>
Text with #AB876C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB876C;}
<p style="text-shadow: 3px 3px 1px #AB876C">Text here.</p>
This text has shadow with #AB876C color.
.textShadow {text-shadow: 3px 3px 1px #AB876C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB876C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB876C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB876C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB876C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB876C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB876C; -webkit-box-shadow: 1px 1px 3px 2px #AB876C; box-shadow: 1px 1px 3px 2px #AB876C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB876C; -webkit-box-shadow: 1px 1px 3px 2px #AB876C; box-shadow:1px 1px 3px 2px #AB876C;">
Div content here</div>
This text has color #AB876C on black background.
This text has color #AB876C on white background.
This text has black color on #AB876C background.
This text has white color on #AB876C background.