HEX: #A6646E
RGB: (166,100,110)
#A6646E contains mainly red and blue colors. Web safe color of #A6646E is #996666 (or #966).
#A6646E color RGB value is (166,100,110).
RGB: (166,100,110) (65%,39%,43%)
R 166 of 255 = 65%
G 100 of 255 = 39%
B 110 of 255 = 43%
R + G + B ~ 49%. #A6646E is middle color (not dark and not light).
R + G + B =
166 + 100 + 110 = 376 (100%)
R 166 of 376 ~ 44.15%
G 100 of 376 ~ 26.6%
B 110 of 376 ~ 29.26%
#A6646E color CMYK value is (0,40,34,35).
CMYK: (0,40,34,35) C0M40Y34K35 (0%,40%,34%,35%) (0.00/0.40/0.34/0.35)
A6 | 64 | 6E | |
---|---|---|---|
RGB | 166 | 100 | 110 |
HSL | 351° | 27.05% | 52.16% |
HSB/HSV | 351° | 39.76% | 65.10% |
CMYK | 0.00% | 39.76% | 33.73% |
34.90% |
HEX | A6 | 64 | 6E |
Decimal | 166 | 100 | 110 |
Binary | 10100110 | 1100100 | 1101110 |
Octal | 246 | 144 | 156 |
Examples of css and html codes for elements with #A6646E color. Also use rgb(166,100,110) instead hex code.
.myTextColor { color: #A6646E; }
<p style="color:#A6646E">This sample text font color is #A6646E.</p>
This text font color is #A6646E.
.myBgColor { background-color: #A6646E; }
<div style="background-color:#A6646E">Inner text</div>
This div background color is #A6646E.
.myBorderColor { border: 1px solid #A6646E; }
<div style="border:3px solid #A6646E">Div</div>
This div border color is #A6646E.
.myOpacity80 { color: #A6646E; opacity: 0.8; }
<p style="color:#A6646E;opacity:0.8;">80%</p>
Text with #A6646E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6646E;}
<p style="text-shadow: 3px 3px 1px #A6646E">Text here.</p>
This text has shadow with #A6646E color.
.textShadow {text-shadow: 3px 3px 1px #A6646E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6646E, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6646E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6646E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6646E, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6646E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6646E; -webkit-box-shadow: 1px 1px 3px 2px #A6646E; box-shadow: 1px 1px 3px 2px #A6646E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6646E; -webkit-box-shadow: 1px 1px 3px 2px #A6646E; box-shadow:1px 1px 3px 2px #A6646E;">
Div content here</div>
This text has color #A6646E on black background.
This text has color #A6646E on white background.
This text has black color on #A6646E background.
This text has white color on #A6646E background.