HEX: #AB8CAB
RGB: (171,140,171)
#AB8CAB contains red, green and blue colors in about the same proportion. Web safe color of #AB8CAB is #999999 (or #999).
#AB8CAB color RGB value is (171,140,171).
RGB: (171,140,171) (67%,55%,67%)
R 171 of 255 = 67%
G 140 of 255 = 55%
B 171 of 255 = 67%
R + G + B ~ 63%. #AB8CAB is quite light color.
R + G + B =
171 + 140 + 171 = 482 (100%)
R 171 of 482 ~ 35.48%
G 140 of 482 ~ 29.05%
B 171 of 482 ~ 35.48%
#AB8CAB color CMYK value is (0,18,0,33).
CMYK: (0,18,0,33) C0M18Y0K33 (0%,18%,0%,33%) (0.00/0.18/0.00/0.33)
AB | 8C | AB | |
---|---|---|---|
RGB | 171 | 140 | 171 |
HSL | 300° | 15.58% | 60.98% |
HSB/HSV | 300° | 18.13% | 67.06% |
CMYK | 0.00% | 18.13% | 0.00% |
32.94% |
HEX | AB | 8C | AB |
Decimal | 171 | 140 | 171 |
Binary | 10101011 | 10001100 | 10101011 |
Octal | 253 | 214 | 253 |
Examples of css and html codes for elements with #AB8CAB color. Also use rgb(171,140,171) instead hex code.
.myTextColor { color: #AB8CAB; }
<p style="color:#AB8CAB">This sample text font color is #AB8CAB.</p>
This text font color is #AB8CAB.
.myBgColor { background-color: #AB8CAB; }
<div style="background-color:#AB8CAB">Inner text</div>
This div background color is #AB8CAB.
.myBorderColor { border: 1px solid #AB8CAB; }
<div style="border:3px solid #AB8CAB">Div</div>
This div border color is #AB8CAB.
.myOpacity80 { color: #AB8CAB; opacity: 0.8; }
<p style="color:#AB8CAB;opacity:0.8;">80%</p>
Text with #AB8CAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8CAB;}
<p style="text-shadow: 3px 3px 1px #AB8CAB">Text here.</p>
This text has shadow with #AB8CAB color.
.textShadow {text-shadow: 3px 3px 1px #AB8CAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8CAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8CAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8CAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8CAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8CAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8CAB; -webkit-box-shadow: 1px 1px 3px 2px #AB8CAB; box-shadow: 1px 1px 3px 2px #AB8CAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8CAB; -webkit-box-shadow: 1px 1px 3px 2px #AB8CAB; box-shadow:1px 1px 3px 2px #AB8CAB;">
Div content here</div>
This text has color #AB8CAB on black background.
This text has color #AB8CAB on white background.
This text has black color on #AB8CAB background.
This text has white color on #AB8CAB background.