HEX: #AB877C
RGB: (171,135,124)
#AB877C contains red, green and blue colors in about the same proportion. Web safe color of #AB877C is #999966 (or #996).
#AB877C color RGB value is (171,135,124).
RGB: (171,135,124) (67%,53%,49%)
R 171 of 255 = 67%
G 135 of 255 = 53%
B 124 of 255 = 49%
R + G + B ~ 56%. #AB877C is middle color (not dark and not light).
R + G + B =
171 + 135 + 124 = 430 (100%)
R 171 of 430 ~ 39.77%
G 135 of 430 ~ 31.4%
B 124 of 430 ~ 28.84%
#AB877C color CMYK value is (0,21,27,33).
CMYK: (0,21,27,33) C0M21Y27K33 (0%,21%,27%,33%) (0.00/0.21/0.27/0.33)
AB | 87 | 7C | |
---|---|---|---|
RGB | 171 | 135 | 124 |
HSL | 14° | 21.86% | 57.84% |
HSB/HSV | 14° | 27.49% | 67.06% |
CMYK | 0.00% | 21.05% | 27.49% |
32.94% |
HEX | AB | 87 | 7C |
Decimal | 171 | 135 | 124 |
Binary | 10101011 | 10000111 | 1111100 |
Octal | 253 | 207 | 174 |
Examples of css and html codes for elements with #AB877C color. Also use rgb(171,135,124) instead hex code.
.myTextColor { color: #AB877C; }
<p style="color:#AB877C">This sample text font color is #AB877C.</p>
This text font color is #AB877C.
.myBgColor { background-color: #AB877C; }
<div style="background-color:#AB877C">Inner text</div>
This div background color is #AB877C.
.myBorderColor { border: 1px solid #AB877C; }
<div style="border:3px solid #AB877C">Div</div>
This div border color is #AB877C.
.myOpacity80 { color: #AB877C; opacity: 0.8; }
<p style="color:#AB877C;opacity:0.8;">80%</p>
Text with #AB877C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB877C;}
<p style="text-shadow: 3px 3px 1px #AB877C">Text here.</p>
This text has shadow with #AB877C color.
.textShadow {text-shadow: 3px 3px 1px #AB877C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB877C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB877C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB877C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB877C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB877C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB877C; -webkit-box-shadow: 1px 1px 3px 2px #AB877C; box-shadow: 1px 1px 3px 2px #AB877C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB877C; -webkit-box-shadow: 1px 1px 3px 2px #AB877C; box-shadow:1px 1px 3px 2px #AB877C;">
Div content here</div>
This text has color #AB877C on black background.
This text has color #AB877C on white background.
This text has black color on #AB877C background.
This text has white color on #AB877C background.