HEX: #AB86C2
RGB: (171,134,194)
#AB86C2 contains mainly red and blue colors. Web safe color of #AB86C2 is #9999CC (or #99C).
#AB86C2 color RGB value is (171,134,194).
RGB: (171,134,194) (67%,53%,76%)
R 171 of 255 = 67%
G 134 of 255 = 53%
B 194 of 255 = 76%
R + G + B ~ 65%. #AB86C2 is quite light color.
R + G + B =
171 + 134 + 194 = 499 (100%)
R 171 of 499 ~ 34.27%
G 134 of 499 ~ 26.85%
B 194 of 499 ~ 38.88%
#AB86C2 color CMYK value is (12,31,0,24).
CMYK: (12,31,0,24) C12M31Y0K24 (12%,31%,0%,24%) (0.12/0.31/0.00/0.24)
AB | 86 | C2 | |
---|---|---|---|
RGB | 171 | 134 | 194 |
HSL | 277° | 32.97% | 64.31% |
HSB/HSV | 277° | 30.93% | 76.08% |
CMYK | 11.86% | 30.93% | 0.00% |
23.92% |
HEX | AB | 86 | C2 |
Decimal | 171 | 134 | 194 |
Binary | 10101011 | 10000110 | 11000010 |
Octal | 253 | 206 | 302 |
Examples of css and html codes for elements with #AB86C2 color. Also use rgb(171,134,194) instead hex code.
.myTextColor { color: #AB86C2; }
<p style="color:#AB86C2">This sample text font color is #AB86C2.</p>
This text font color is #AB86C2.
.myBgColor { background-color: #AB86C2; }
<div style="background-color:#AB86C2">Inner text</div>
This div background color is #AB86C2.
.myBorderColor { border: 1px solid #AB86C2; }
<div style="border:3px solid #AB86C2">Div</div>
This div border color is #AB86C2.
.myOpacity80 { color: #AB86C2; opacity: 0.8; }
<p style="color:#AB86C2;opacity:0.8;">80%</p>
Text with #AB86C2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB86C2;}
<p style="text-shadow: 3px 3px 1px #AB86C2">Text here.</p>
This text has shadow with #AB86C2 color.
.textShadow {text-shadow: 3px 3px 1px #AB86C2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB86C2, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB86C2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB86C2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB86C2, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB86C2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB86C2; -webkit-box-shadow: 1px 1px 3px 2px #AB86C2; box-shadow: 1px 1px 3px 2px #AB86C2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB86C2; -webkit-box-shadow: 1px 1px 3px 2px #AB86C2; box-shadow:1px 1px 3px 2px #AB86C2;">
Div content here</div>
This text has color #AB86C2 on black background.
This text has color #AB86C2 on white background.
This text has black color on #AB86C2 background.
This text has white color on #AB86C2 background.