HEX: #AB718D
RGB: (171,113,141)
#AB718D contains red, green and blue colors in about the same proportion. Web safe color of #AB718D is #996699 (or #969).
#AB718D color RGB value is (171,113,141).
RGB: (171,113,141) (67%,44%,55%)
R 171 of 255 = 67%
G 113 of 255 = 44%
B 141 of 255 = 55%
R + G + B ~ 55%. #AB718D is middle color (not dark and not light).
R + G + B =
171 + 113 + 141 = 425 (100%)
R 171 of 425 ~ 40.24%
G 113 of 425 ~ 26.59%
B 141 of 425 ~ 33.18%
#AB718D color CMYK value is (0,34,18,33).
CMYK: (0,34,18,33) C0M34Y18K33 (0%,34%,18%,33%) (0.00/0.34/0.18/0.33)
AB | 71 | 8D | |
---|---|---|---|
RGB | 171 | 113 | 141 |
HSL | 331° | 25.66% | 55.69% |
HSB/HSV | 331° | 33.92% | 67.06% |
CMYK | 0.00% | 33.92% | 17.54% |
32.94% |
HEX | AB | 71 | 8D |
Decimal | 171 | 113 | 141 |
Binary | 10101011 | 1110001 | 10001101 |
Octal | 253 | 161 | 215 |
Examples of css and html codes for elements with #AB718D color. Also use rgb(171,113,141) instead hex code.
.myTextColor { color: #AB718D; }
<p style="color:#AB718D">This sample text font color is #AB718D.</p>
This text font color is #AB718D.
.myBgColor { background-color: #AB718D; }
<div style="background-color:#AB718D">Inner text</div>
This div background color is #AB718D.
.myBorderColor { border: 1px solid #AB718D; }
<div style="border:3px solid #AB718D">Div</div>
This div border color is #AB718D.
.myOpacity80 { color: #AB718D; opacity: 0.8; }
<p style="color:#AB718D;opacity:0.8;">80%</p>
Text with #AB718D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB718D;}
<p style="text-shadow: 3px 3px 1px #AB718D">Text here.</p>
This text has shadow with #AB718D color.
.textShadow {text-shadow: 3px 3px 1px #AB718D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB718D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB718D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB718D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB718D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB718D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB718D; -webkit-box-shadow: 1px 1px 3px 2px #AB718D; box-shadow: 1px 1px 3px 2px #AB718D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB718D; -webkit-box-shadow: 1px 1px 3px 2px #AB718D; box-shadow:1px 1px 3px 2px #AB718D;">
Div content here</div>
This text has color #AB718D on black background.
This text has color #AB718D on white background.
This text has black color on #AB718D background.
This text has white color on #AB718D background.