HEX: #AB788F
RGB: (171,120,143)
#AB788F contains red, green and blue colors in about the same proportion. Web safe color of #AB788F is #996699 (or #969).
#AB788F color RGB value is (171,120,143).
RGB: (171,120,143) (67%,47%,56%)
R 171 of 255 = 67%
G 120 of 255 = 47%
B 143 of 255 = 56%
R + G + B ~ 57%. #AB788F is middle color (not dark and not light).
R + G + B =
171 + 120 + 143 = 434 (100%)
R 171 of 434 ~ 39.4%
G 120 of 434 ~ 27.65%
B 143 of 434 ~ 32.95%
#AB788F color CMYK value is (0,30,16,33).
CMYK: (0,30,16,33) C0M30Y16K33 (0%,30%,16%,33%) (0.00/0.30/0.16/0.33)
AB | 78 | 8F | |
---|---|---|---|
RGB | 171 | 120 | 143 |
HSL | 333° | 23.29% | 57.06% |
HSB/HSV | 333° | 29.82% | 67.06% |
CMYK | 0.00% | 29.82% | 16.37% |
32.94% |
HEX | AB | 78 | 8F |
Decimal | 171 | 120 | 143 |
Binary | 10101011 | 1111000 | 10001111 |
Octal | 253 | 170 | 217 |
Examples of css and html codes for elements with #AB788F color. Also use rgb(171,120,143) instead hex code.
.myTextColor { color: #AB788F; }
<p style="color:#AB788F">This sample text font color is #AB788F.</p>
This text font color is #AB788F.
.myBgColor { background-color: #AB788F; }
<div style="background-color:#AB788F">Inner text</div>
This div background color is #AB788F.
.myBorderColor { border: 1px solid #AB788F; }
<div style="border:3px solid #AB788F">Div</div>
This div border color is #AB788F.
.myOpacity80 { color: #AB788F; opacity: 0.8; }
<p style="color:#AB788F;opacity:0.8;">80%</p>
Text with #AB788F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB788F;}
<p style="text-shadow: 3px 3px 1px #AB788F">Text here.</p>
This text has shadow with #AB788F color.
.textShadow {text-shadow: 3px 3px 1px #AB788F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB788F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB788F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB788F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB788F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB788F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB788F; -webkit-box-shadow: 1px 1px 3px 2px #AB788F; box-shadow: 1px 1px 3px 2px #AB788F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB788F; -webkit-box-shadow: 1px 1px 3px 2px #AB788F; box-shadow:1px 1px 3px 2px #AB788F;">
Div content here</div>
This text has color #AB788F on black background.
This text has color #AB788F on white background.
This text has black color on #AB788F background.
This text has white color on #AB788F background.