HEX: #AB6666
RGB: (171,102,102)
#AB6666 contains mainly red color. Web safe color of #AB6666 is #996666 (or #966).
#AB6666 color RGB value is (171,102,102).
RGB: (171,102,102) (67%,40%,40%)
R 171 of 255 = 67%
G 102 of 255 = 40%
B 102 of 255 = 40%
R + G + B ~ 49%. #AB6666 is middle color (not dark and not light).
R + G + B =
171 + 102 + 102 = 375 (100%)
R 171 of 375 ~ 45.6%
G 102 of 375 ~ 27.2%
B 102 of 375 ~ 27.2%
#AB6666 color CMYK value is (0,40,40,33).
CMYK: (0,40,40,33) C0M40Y40K33 (0%,40%,40%,33%) (0.00/0.40/0.40/0.33)
AB | 66 | 66 | |
---|---|---|---|
RGB | 171 | 102 | 102 |
HSL | 0° | 29.11% | 53.53% |
HSB/HSV | 0° | 40.35% | 67.06% |
CMYK | 0.00% | 40.35% | 40.35% |
32.94% |
HEX | AB | 66 | 66 |
Decimal | 171 | 102 | 102 |
Binary | 10101011 | 1100110 | 1100110 |
Octal | 253 | 146 | 146 |
Examples of css and html codes for elements with #AB6666 color. Also use rgb(171,102,102) instead hex code.
.myTextColor { color: #AB6666; }
<p style="color:#AB6666">This sample text font color is #AB6666.</p>
This text font color is #AB6666.
.myBgColor { background-color: #AB6666; }
<div style="background-color:#AB6666">Inner text</div>
This div background color is #AB6666.
.myBorderColor { border: 1px solid #AB6666; }
<div style="border:3px solid #AB6666">Div</div>
This div border color is #AB6666.
.myOpacity80 { color: #AB6666; opacity: 0.8; }
<p style="color:#AB6666;opacity:0.8;">80%</p>
Text with #AB6666 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6666;}
<p style="text-shadow: 3px 3px 1px #AB6666">Text here.</p>
This text has shadow with #AB6666 color.
.textShadow {text-shadow: 3px 3px 1px #AB6666, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6666, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6666 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6666, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6666, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6666 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6666; -webkit-box-shadow: 1px 1px 3px 2px #AB6666; box-shadow: 1px 1px 3px 2px #AB6666; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6666; -webkit-box-shadow: 1px 1px 3px 2px #AB6666; box-shadow:1px 1px 3px 2px #AB6666;">
Div content here</div>
This text has color #AB6666 on black background.
This text has color #AB6666 on white background.
This text has black color on #AB6666 background.
This text has white color on #AB6666 background.