HEX: #AB87BF
RGB: (171,135,191)
#AB87BF contains red, green and blue colors in about the same proportion. Web safe color of #AB87BF is #9999CC (or #99C).
#AB87BF color RGB value is (171,135,191).
RGB: (171,135,191) (67%,53%,75%)
R 171 of 255 = 67%
G 135 of 255 = 53%
B 191 of 255 = 75%
R + G + B ~ 65%. #AB87BF is quite light color.
R + G + B =
171 + 135 + 191 = 497 (100%)
R 171 of 497 ~ 34.41%
G 135 of 497 ~ 27.16%
B 191 of 497 ~ 38.43%
#AB87BF color CMYK value is (10,29,0,25).
CMYK: (10,29,0,25) C10M29Y0K25 (10%,29%,0%,25%) (0.10/0.29/0.00/0.25)
AB | 87 | BF | |
---|---|---|---|
RGB | 171 | 135 | 191 |
HSL | 279° | 30.43% | 63.92% |
HSB/HSV | 279° | 29.32% | 74.90% |
CMYK | 10.47% | 29.32% | 0.00% |
25.10% |
HEX | AB | 87 | BF |
Decimal | 171 | 135 | 191 |
Binary | 10101011 | 10000111 | 10111111 |
Octal | 253 | 207 | 277 |
Examples of css and html codes for elements with #AB87BF color. Also use rgb(171,135,191) instead hex code.
.myTextColor { color: #AB87BF; }
<p style="color:#AB87BF">This sample text font color is #AB87BF.</p>
This text font color is #AB87BF.
.myBgColor { background-color: #AB87BF; }
<div style="background-color:#AB87BF">Inner text</div>
This div background color is #AB87BF.
.myBorderColor { border: 1px solid #AB87BF; }
<div style="border:3px solid #AB87BF">Div</div>
This div border color is #AB87BF.
.myOpacity80 { color: #AB87BF; opacity: 0.8; }
<p style="color:#AB87BF;opacity:0.8;">80%</p>
Text with #AB87BF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB87BF;}
<p style="text-shadow: 3px 3px 1px #AB87BF">Text here.</p>
This text has shadow with #AB87BF color.
.textShadow {text-shadow: 3px 3px 1px #AB87BF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB87BF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB87BF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB87BF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB87BF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB87BF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB87BF; -webkit-box-shadow: 1px 1px 3px 2px #AB87BF; box-shadow: 1px 1px 3px 2px #AB87BF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB87BF; -webkit-box-shadow: 1px 1px 3px 2px #AB87BF; box-shadow:1px 1px 3px 2px #AB87BF;">
Div content here</div>
This text has color #AB87BF on black background.
This text has color #AB87BF on white background.
This text has black color on #AB87BF background.
This text has white color on #AB87BF background.