HEX: #AB80AB
RGB: (171,128,171)
#AB80AB contains red, green and blue colors in about the same proportion. Web safe color of #AB80AB is #996699 (or #969).
#AB80AB color RGB value is (171,128,171).
RGB: (171,128,171) (67%,50%,67%)
R 171 of 255 = 67%
G 128 of 255 = 50%
B 171 of 255 = 67%
R + G + B ~ 61%. #AB80AB is quite light color.
R + G + B =
171 + 128 + 171 = 470 (100%)
R 171 of 470 ~ 36.38%
G 128 of 470 ~ 27.23%
B 171 of 470 ~ 36.38%
#AB80AB color CMYK value is (0,25,0,33).
CMYK: (0,25,0,33) C0M25Y0K33 (0%,25%,0%,33%) (0.00/0.25/0.00/0.33)
AB | 80 | AB | |
---|---|---|---|
RGB | 171 | 128 | 171 |
HSL | 300° | 20.38% | 58.63% |
HSB/HSV | 300° | 25.15% | 67.06% |
CMYK | 0.00% | 25.15% | 0.00% |
32.94% |
HEX | AB | 80 | AB |
Decimal | 171 | 128 | 171 |
Binary | 10101011 | 10000000 | 10101011 |
Octal | 253 | 200 | 253 |
Examples of css and html codes for elements with #AB80AB color. Also use rgb(171,128,171) instead hex code.
.myTextColor { color: #AB80AB; }
<p style="color:#AB80AB">This sample text font color is #AB80AB.</p>
This text font color is #AB80AB.
.myBgColor { background-color: #AB80AB; }
<div style="background-color:#AB80AB">Inner text</div>
This div background color is #AB80AB.
.myBorderColor { border: 1px solid #AB80AB; }
<div style="border:3px solid #AB80AB">Div</div>
This div border color is #AB80AB.
.myOpacity80 { color: #AB80AB; opacity: 0.8; }
<p style="color:#AB80AB;opacity:0.8;">80%</p>
Text with #AB80AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB80AB;}
<p style="text-shadow: 3px 3px 1px #AB80AB">Text here.</p>
This text has shadow with #AB80AB color.
.textShadow {text-shadow: 3px 3px 1px #AB80AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB80AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB80AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB80AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB80AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB80AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB80AB; -webkit-box-shadow: 1px 1px 3px 2px #AB80AB; box-shadow: 1px 1px 3px 2px #AB80AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB80AB; -webkit-box-shadow: 1px 1px 3px 2px #AB80AB; box-shadow:1px 1px 3px 2px #AB80AB;">
Div content here</div>
This text has color #AB80AB on black background.
This text has color #AB80AB on white background.
This text has black color on #AB80AB background.
This text has white color on #AB80AB background.