HEX: #AB687F
RGB: (171,104,127)
#AB687F contains mainly red and blue colors. Web safe color of #AB687F is #996666 (or #966).
#AB687F color RGB value is (171,104,127).
RGB: (171,104,127) (67%,41%,50%)
R 171 of 255 = 67%
G 104 of 255 = 41%
B 127 of 255 = 50%
R + G + B ~ 53%. #AB687F is middle color (not dark and not light).
R + G + B =
171 + 104 + 127 = 402 (100%)
R 171 of 402 ~ 42.54%
G 104 of 402 ~ 25.87%
B 127 of 402 ~ 31.59%
#AB687F color CMYK value is (0,39,26,33).
CMYK: (0,39,26,33) C0M39Y26K33 (0%,39%,26%,33%) (0.00/0.39/0.26/0.33)
AB | 68 | 7F | |
---|---|---|---|
RGB | 171 | 104 | 127 |
HSL | 339° | 28.51% | 53.92% |
HSB/HSV | 339° | 39.18% | 67.06% |
CMYK | 0.00% | 39.18% | 25.73% |
32.94% |
HEX | AB | 68 | 7F |
Decimal | 171 | 104 | 127 |
Binary | 10101011 | 1101000 | 1111111 |
Octal | 253 | 150 | 177 |
Examples of css and html codes for elements with #AB687F color. Also use rgb(171,104,127) instead hex code.
.myTextColor { color: #AB687F; }
<p style="color:#AB687F">This sample text font color is #AB687F.</p>
This text font color is #AB687F.
.myBgColor { background-color: #AB687F; }
<div style="background-color:#AB687F">Inner text</div>
This div background color is #AB687F.
.myBorderColor { border: 1px solid #AB687F; }
<div style="border:3px solid #AB687F">Div</div>
This div border color is #AB687F.
.myOpacity80 { color: #AB687F; opacity: 0.8; }
<p style="color:#AB687F;opacity:0.8;">80%</p>
Text with #AB687F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB687F;}
<p style="text-shadow: 3px 3px 1px #AB687F">Text here.</p>
This text has shadow with #AB687F color.
.textShadow {text-shadow: 3px 3px 1px #AB687F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB687F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB687F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB687F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB687F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB687F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB687F; -webkit-box-shadow: 1px 1px 3px 2px #AB687F; box-shadow: 1px 1px 3px 2px #AB687F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB687F; -webkit-box-shadow: 1px 1px 3px 2px #AB687F; box-shadow:1px 1px 3px 2px #AB687F;">
Div content here</div>
This text has color #AB687F on black background.
This text has color #AB687F on white background.
This text has black color on #AB687F background.
This text has white color on #AB687F background.