HEX: #AB7DAC
RGB: (171,125,172)
#AB7DAC contains red, green and blue colors in about the same proportion. Web safe color of #AB7DAC is #996699 (or #969).
#AB7DAC color RGB value is (171,125,172).
RGB: (171,125,172) (67%,49%,67%)
R 171 of 255 = 67%
G 125 of 255 = 49%
B 172 of 255 = 67%
R + G + B ~ 61%. #AB7DAC is quite light color.
R + G + B =
171 + 125 + 172 = 468 (100%)
R 171 of 468 ~ 36.54%
G 125 of 468 ~ 26.71%
B 172 of 468 ~ 36.75%
#AB7DAC color CMYK value is (1,27,0,33).
CMYK: (1,27,0,33) C1M27Y0K33 (1%,27%,0%,33%) (0.01/0.27/0.00/0.33)
AB | 7D | AC | |
---|---|---|---|
RGB | 171 | 125 | 172 |
HSL | 299° | 22.07% | 58.24% |
HSB/HSV | 299° | 27.33% | 67.45% |
CMYK | 0.58% | 27.33% | 0.00% |
32.55% |
HEX | AB | 7D | AC |
Decimal | 171 | 125 | 172 |
Binary | 10101011 | 1111101 | 10101100 |
Octal | 253 | 175 | 254 |
Examples of css and html codes for elements with #AB7DAC color. Also use rgb(171,125,172) instead hex code.
.myTextColor { color: #AB7DAC; }
<p style="color:#AB7DAC">This sample text font color is #AB7DAC.</p>
This text font color is #AB7DAC.
.myBgColor { background-color: #AB7DAC; }
<div style="background-color:#AB7DAC">Inner text</div>
This div background color is #AB7DAC.
.myBorderColor { border: 1px solid #AB7DAC; }
<div style="border:3px solid #AB7DAC">Div</div>
This div border color is #AB7DAC.
.myOpacity80 { color: #AB7DAC; opacity: 0.8; }
<p style="color:#AB7DAC;opacity:0.8;">80%</p>
Text with #AB7DAC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7DAC;}
<p style="text-shadow: 3px 3px 1px #AB7DAC">Text here.</p>
This text has shadow with #AB7DAC color.
.textShadow {text-shadow: 3px 3px 1px #AB7DAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7DAC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7DAC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7DAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7DAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7DAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7DAC; -webkit-box-shadow: 1px 1px 3px 2px #AB7DAC; box-shadow: 1px 1px 3px 2px #AB7DAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7DAC; -webkit-box-shadow: 1px 1px 3px 2px #AB7DAC; box-shadow:1px 1px 3px 2px #AB7DAC;">
Div content here</div>
This text has color #AB7DAC on black background.
This text has color #AB7DAC on white background.
This text has black color on #AB7DAC background.
This text has white color on #AB7DAC background.