HEX: #AB6A6E
RGB: (171,106,110)
#AB6A6E contains mainly red color. Web safe color of #AB6A6E is #996666 (or #966).
#AB6A6E color RGB value is (171,106,110).
RGB: (171,106,110) (67%,42%,43%)
R 171 of 255 = 67%
G 106 of 255 = 42%
B 110 of 255 = 43%
R + G + B ~ 51%. #AB6A6E is middle color (not dark and not light).
R + G + B =
171 + 106 + 110 = 387 (100%)
R 171 of 387 ~ 44.19%
G 106 of 387 ~ 27.39%
B 110 of 387 ~ 28.42%
#AB6A6E color CMYK value is (0,38,36,33).
CMYK: (0,38,36,33) C0M38Y36K33 (0%,38%,36%,33%) (0.00/0.38/0.36/0.33)
AB | 6A | 6E | |
---|---|---|---|
RGB | 171 | 106 | 110 |
HSL | 356° | 27.90% | 54.31% |
HSB/HSV | 356° | 38.01% | 67.06% |
CMYK | 0.00% | 38.01% | 35.67% |
32.94% |
HEX | AB | 6A | 6E |
Decimal | 171 | 106 | 110 |
Binary | 10101011 | 1101010 | 1101110 |
Octal | 253 | 152 | 156 |
Examples of css and html codes for elements with #AB6A6E color. Also use rgb(171,106,110) instead hex code.
.myTextColor { color: #AB6A6E; }
<p style="color:#AB6A6E">This sample text font color is #AB6A6E.</p>
This text font color is #AB6A6E.
.myBgColor { background-color: #AB6A6E; }
<div style="background-color:#AB6A6E">Inner text</div>
This div background color is #AB6A6E.
.myBorderColor { border: 1px solid #AB6A6E; }
<div style="border:3px solid #AB6A6E">Div</div>
This div border color is #AB6A6E.
.myOpacity80 { color: #AB6A6E; opacity: 0.8; }
<p style="color:#AB6A6E;opacity:0.8;">80%</p>
Text with #AB6A6E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB6A6E;}
<p style="text-shadow: 3px 3px 1px #AB6A6E">Text here.</p>
This text has shadow with #AB6A6E color.
.textShadow {text-shadow: 3px 3px 1px #AB6A6E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB6A6E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB6A6E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB6A6E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB6A6E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB6A6E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB6A6E; -webkit-box-shadow: 1px 1px 3px 2px #AB6A6E; box-shadow: 1px 1px 3px 2px #AB6A6E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB6A6E; -webkit-box-shadow: 1px 1px 3px 2px #AB6A6E; box-shadow:1px 1px 3px 2px #AB6A6E;">
Div content here</div>
This text has color #AB6A6E on black background.
This text has color #AB6A6E on white background.
This text has black color on #AB6A6E background.
This text has white color on #AB6A6E background.