HEX: #AB7FAD
RGB: (171,127,173)
#AB7FAD contains red, green and blue colors in about the same proportion. Web safe color of #AB7FAD is #996699 (or #969).
#AB7FAD color RGB value is (171,127,173).
RGB: (171,127,173) (67%,50%,68%)
R 171 of 255 = 67%
G 127 of 255 = 50%
B 173 of 255 = 68%
R + G + B ~ 62%. #AB7FAD is quite light color.
R + G + B =
171 + 127 + 173 = 471 (100%)
R 171 of 471 ~ 36.31%
G 127 of 471 ~ 26.96%
B 173 of 471 ~ 36.73%
#AB7FAD color CMYK value is (1,27,0,32).
CMYK: (1,27,0,32) C1M27Y0K32 (1%,27%,0%,32%) (0.01/0.27/0.00/0.32)
AB | 7F | AD | |
---|---|---|---|
RGB | 171 | 127 | 173 |
HSL | 297° | 21.90% | 58.82% |
HSB/HSV | 297° | 26.59% | 67.84% |
CMYK | 1.16% | 26.59% | 0.00% |
32.16% |
HEX | AB | 7F | AD |
Decimal | 171 | 127 | 173 |
Binary | 10101011 | 1111111 | 10101101 |
Octal | 253 | 177 | 255 |
Examples of css and html codes for elements with #AB7FAD color. Also use rgb(171,127,173) instead hex code.
.myTextColor { color: #AB7FAD; }
<p style="color:#AB7FAD">This sample text font color is #AB7FAD.</p>
This text font color is #AB7FAD.
.myBgColor { background-color: #AB7FAD; }
<div style="background-color:#AB7FAD">Inner text</div>
This div background color is #AB7FAD.
.myBorderColor { border: 1px solid #AB7FAD; }
<div style="border:3px solid #AB7FAD">Div</div>
This div border color is #AB7FAD.
.myOpacity80 { color: #AB7FAD; opacity: 0.8; }
<p style="color:#AB7FAD;opacity:0.8;">80%</p>
Text with #AB7FAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7FAD;}
<p style="text-shadow: 3px 3px 1px #AB7FAD">Text here.</p>
This text has shadow with #AB7FAD color.
.textShadow {text-shadow: 3px 3px 1px #AB7FAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7FAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7FAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7FAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7FAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7FAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7FAD; -webkit-box-shadow: 1px 1px 3px 2px #AB7FAD; box-shadow: 1px 1px 3px 2px #AB7FAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7FAD; -webkit-box-shadow: 1px 1px 3px 2px #AB7FAD; box-shadow:1px 1px 3px 2px #AB7FAD;">
Div content here</div>
This text has color #AB7FAD on black background.
This text has color #AB7FAD on white background.
This text has black color on #AB7FAD background.
This text has white color on #AB7FAD background.