HEX: #A6664E
RGB: (166,102,78)
#A6664E contains mainly red color. Web safe color of #A6664E is #996666 (or #966).
#A6664E color RGB value is (166,102,78).
RGB: (166,102,78) (65%,40%,31%)
R 166 of 255 = 65%
G 102 of 255 = 40%
B 78 of 255 = 31%
R + G + B ~ 45%. #A6664E is middle color (not dark and not light).
R + G + B =
166 + 102 + 78 = 346 (100%)
R 166 of 346 ~ 47.98%
G 102 of 346 ~ 29.48%
B 78 of 346 ~ 22.54%
#A6664E color CMYK value is (0,39,53,35).
CMYK: (0,39,53,35) C0M39Y53K35 (0%,39%,53%,35%) (0.00/0.39/0.53/0.35)
A6 | 66 | 4E | |
---|---|---|---|
RGB | 166 | 102 | 78 |
HSL | 16° | 36.07% | 47.84% |
HSB/HSV | 16° | 53.01% | 65.10% |
CMYK | 0.00% | 38.55% | 53.01% |
34.90% |
HEX | A6 | 66 | 4E |
Decimal | 166 | 102 | 78 |
Binary | 10100110 | 1100110 | 1001110 |
Octal | 246 | 146 | 116 |
Examples of css and html codes for elements with #A6664E color. Also use rgb(166,102,78) instead hex code.
.myTextColor { color: #A6664E; }
<p style="color:#A6664E">This sample text font color is #A6664E.</p>
This text font color is #A6664E.
.myBgColor { background-color: #A6664E; }
<div style="background-color:#A6664E">Inner text</div>
This div background color is #A6664E.
.myBorderColor { border: 1px solid #A6664E; }
<div style="border:3px solid #A6664E">Div</div>
This div border color is #A6664E.
.myOpacity80 { color: #A6664E; opacity: 0.8; }
<p style="color:#A6664E;opacity:0.8;">80%</p>
Text with #A6664E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6664E;}
<p style="text-shadow: 3px 3px 1px #A6664E">Text here.</p>
This text has shadow with #A6664E color.
.textShadow {text-shadow: 3px 3px 1px #A6664E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6664E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6664E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6664E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6664E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6664E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6664E; -webkit-box-shadow: 1px 1px 3px 2px #A6664E; box-shadow: 1px 1px 3px 2px #A6664E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6664E; -webkit-box-shadow: 1px 1px 3px 2px #A6664E; box-shadow:1px 1px 3px 2px #A6664E;">
Div content here</div>
This text has color #A6664E on black background.
This text has color #A6664E on white background.
This text has black color on #A6664E background.
This text has white color on #A6664E background.