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