HEX: #AB878A
RGB: (171,135,138)
#AB878A contains red, green and blue colors in about the same proportion. Web safe color of #AB878A is #999999 (or #999).
#AB878A color RGB value is (171,135,138).
RGB: (171,135,138) (67%,53%,54%)
R 171 of 255 = 67%
G 135 of 255 = 53%
B 138 of 255 = 54%
R + G + B ~ 58%. #AB878A is middle color (not dark and not light).
R + G + B =
171 + 135 + 138 = 444 (100%)
R 171 of 444 ~ 38.51%
G 135 of 444 ~ 30.41%
B 138 of 444 ~ 31.08%
#AB878A color CMYK value is (0,21,19,33).
CMYK: (0,21,19,33) C0M21Y19K33 (0%,21%,19%,33%) (0.00/0.21/0.19/0.33)
AB | 87 | 8A | |
---|---|---|---|
RGB | 171 | 135 | 138 |
HSL | 355° | 17.65% | 60.00% |
HSB/HSV | 355° | 21.05% | 67.06% |
CMYK | 0.00% | 21.05% | 19.30% |
32.94% |
HEX | AB | 87 | 8A |
Decimal | 171 | 135 | 138 |
Binary | 10101011 | 10000111 | 10001010 |
Octal | 253 | 207 | 212 |
Examples of css and html codes for elements with #AB878A color. Also use rgb(171,135,138) instead hex code.
.myTextColor { color: #AB878A; }
<p style="color:#AB878A">This sample text font color is #AB878A.</p>
This text font color is #AB878A.
.myBgColor { background-color: #AB878A; }
<div style="background-color:#AB878A">Inner text</div>
This div background color is #AB878A.
.myBorderColor { border: 1px solid #AB878A; }
<div style="border:3px solid #AB878A">Div</div>
This div border color is #AB878A.
.myOpacity80 { color: #AB878A; opacity: 0.8; }
<p style="color:#AB878A;opacity:0.8;">80%</p>
Text with #AB878A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB878A;}
<p style="text-shadow: 3px 3px 1px #AB878A">Text here.</p>
This text has shadow with #AB878A color.
.textShadow {text-shadow: 3px 3px 1px #AB878A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB878A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB878A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB878A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB878A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB878A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB878A; -webkit-box-shadow: 1px 1px 3px 2px #AB878A; box-shadow: 1px 1px 3px 2px #AB878A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB878A; -webkit-box-shadow: 1px 1px 3px 2px #AB878A; box-shadow:1px 1px 3px 2px #AB878A;">
Div content here</div>
This text has color #AB878A on black background.
This text has color #AB878A on white background.
This text has black color on #AB878A background.
This text has white color on #AB878A background.