HEX: #AB66AF
RGB: (171,102,175)
#AB66AF contains mainly red and blue colors. Web safe color of #AB66AF is #996699 (or #969).
#AB66AF color RGB value is (171,102,175).
RGB: (171,102,175) (67%,40%,69%)
R 171 of 255 = 67%
G 102 of 255 = 40%
B 175 of 255 = 69%
R + G + B ~ 59%. #AB66AF is middle color (not dark and not light).
R + G + B =
171 + 102 + 175 = 448 (100%)
R 171 of 448 ~ 38.17%
G 102 of 448 ~ 22.77%
B 175 of 448 ~ 39.06%
#AB66AF color CMYK value is (2,42,0,31).
CMYK: (2,42,0,31) C2M42Y0K31 (2%,42%,0%,31%) (0.02/0.42/0.00/0.31)
AB | 66 | AF | |
---|---|---|---|
RGB | 171 | 102 | 175 |
HSL | 297° | 31.33% | 54.31% |
HSB/HSV | 297° | 41.71% | 68.63% |
CMYK | 2.29% | 41.71% | 0.00% |
31.37% |
HEX | AB | 66 | AF |
Decimal | 171 | 102 | 175 |
Binary | 10101011 | 1100110 | 10101111 |
Octal | 253 | 146 | 257 |
Examples of css and html codes for elements with #AB66AF color. Also use rgb(171,102,175) instead hex code.
.myTextColor { color: #AB66AF; }
<p style="color:#AB66AF">This sample text font color is #AB66AF.</p>
This text font color is #AB66AF.
.myBgColor { background-color: #AB66AF; }
<div style="background-color:#AB66AF">Inner text</div>
This div background color is #AB66AF.
.myBorderColor { border: 1px solid #AB66AF; }
<div style="border:3px solid #AB66AF">Div</div>
This div border color is #AB66AF.
.myOpacity80 { color: #AB66AF; opacity: 0.8; }
<p style="color:#AB66AF;opacity:0.8;">80%</p>
Text with #AB66AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB66AF;}
<p style="text-shadow: 3px 3px 1px #AB66AF">Text here.</p>
This text has shadow with #AB66AF color.
.textShadow {text-shadow: 3px 3px 1px #AB66AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB66AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB66AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB66AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB66AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB66AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB66AF; -webkit-box-shadow: 1px 1px 3px 2px #AB66AF; box-shadow: 1px 1px 3px 2px #AB66AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB66AF; -webkit-box-shadow: 1px 1px 3px 2px #AB66AF; box-shadow:1px 1px 3px 2px #AB66AF;">
Div content here</div>
This text has color #AB66AF on black background.
This text has color #AB66AF on white background.
This text has black color on #AB66AF background.
This text has white color on #AB66AF background.