HEX: #AB7BAE
RGB: (171,123,174)
#AB7BAE contains red, green and blue colors in about the same proportion. Web safe color of #AB7BAE is #996699 (or #969).
#AB7BAE color RGB value is (171,123,174).
RGB: (171,123,174) (67%,48%,68%)
R 171 of 255 = 67%
G 123 of 255 = 48%
B 174 of 255 = 68%
R + G + B ~ 61%. #AB7BAE is quite light color.
R + G + B =
171 + 123 + 174 = 468 (100%)
R 171 of 468 ~ 36.54%
G 123 of 468 ~ 26.28%
B 174 of 468 ~ 37.18%
#AB7BAE color CMYK value is (2,29,0,32).
CMYK: (2,29,0,32) C2M29Y0K32 (2%,29%,0%,32%) (0.02/0.29/0.00/0.32)
AB | 7B | AE | |
---|---|---|---|
RGB | 171 | 123 | 174 |
HSL | 296° | 23.94% | 58.24% |
HSB/HSV | 296° | 29.31% | 68.24% |
CMYK | 1.72% | 29.31% | 0.00% |
31.76% |
HEX | AB | 7B | AE |
Decimal | 171 | 123 | 174 |
Binary | 10101011 | 1111011 | 10101110 |
Octal | 253 | 173 | 256 |
Examples of css and html codes for elements with #AB7BAE color. Also use rgb(171,123,174) instead hex code.
.myTextColor { color: #AB7BAE; }
<p style="color:#AB7BAE">This sample text font color is #AB7BAE.</p>
This text font color is #AB7BAE.
.myBgColor { background-color: #AB7BAE; }
<div style="background-color:#AB7BAE">Inner text</div>
This div background color is #AB7BAE.
.myBorderColor { border: 1px solid #AB7BAE; }
<div style="border:3px solid #AB7BAE">Div</div>
This div border color is #AB7BAE.
.myOpacity80 { color: #AB7BAE; opacity: 0.8; }
<p style="color:#AB7BAE;opacity:0.8;">80%</p>
Text with #AB7BAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7BAE;}
<p style="text-shadow: 3px 3px 1px #AB7BAE">Text here.</p>
This text has shadow with #AB7BAE color.
.textShadow {text-shadow: 3px 3px 1px #AB7BAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7BAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7BAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7BAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7BAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7BAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7BAE; -webkit-box-shadow: 1px 1px 3px 2px #AB7BAE; box-shadow: 1px 1px 3px 2px #AB7BAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7BAE; -webkit-box-shadow: 1px 1px 3px 2px #AB7BAE; box-shadow:1px 1px 3px 2px #AB7BAE;">
Div content here</div>
This text has color #AB7BAE on black background.
This text has color #AB7BAE on white background.
This text has black color on #AB7BAE background.
This text has white color on #AB7BAE background.