HEX: #A66197
RGB: (166,97,151)
#A66197 contains mainly red and blue colors. Web safe color of #A66197 is #996699 (or #969).
#A66197 color RGB value is (166,97,151).
RGB: (166,97,151) (65%,38%,59%)
R 166 of 255 = 65%
G 97 of 255 = 38%
B 151 of 255 = 59%
R + G + B ~ 54%. #A66197 is middle color (not dark and not light).
R + G + B =
166 + 97 + 151 = 414 (100%)
R 166 of 414 ~ 40.1%
G 97 of 414 ~ 23.43%
B 151 of 414 ~ 36.47%
#A66197 color CMYK value is (0,42,9,35).
CMYK: (0,42,9,35) C0M42Y9K35 (0%,42%,9%,35%) (0.00/0.42/0.09/0.35)
A6 | 61 | 97 | |
---|---|---|---|
RGB | 166 | 97 | 151 |
HSL | 313° | 27.94% | 51.57% |
HSB/HSV | 313° | 41.57% | 65.10% |
CMYK | 0.00% | 41.57% | 9.04% |
34.90% |
HEX | A6 | 61 | 97 |
Decimal | 166 | 97 | 151 |
Binary | 10100110 | 1100001 | 10010111 |
Octal | 246 | 141 | 227 |
Examples of css and html codes for elements with #A66197 color. Also use rgb(166,97,151) instead hex code.
.myTextColor { color: #A66197; }
<p style="color:#A66197">This sample text font color is #A66197.</p>
This text font color is #A66197.
.myBgColor { background-color: #A66197; }
<div style="background-color:#A66197">Inner text</div>
This div background color is #A66197.
.myBorderColor { border: 1px solid #A66197; }
<div style="border:3px solid #A66197">Div</div>
This div border color is #A66197.
.myOpacity80 { color: #A66197; opacity: 0.8; }
<p style="color:#A66197;opacity:0.8;">80%</p>
Text with #A66197 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A66197;}
<p style="text-shadow: 3px 3px 1px #A66197">Text here.</p>
This text has shadow with #A66197 color.
.textShadow {text-shadow: 3px 3px 1px #A66197, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A66197, 5px 5px 20px red">Text here.</p>
This text has shadow with #A66197 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A66197, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A66197, Direction=45, Strength=4)">Text</p>
This text has shadow with #A66197 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A66197; -webkit-box-shadow: 1px 1px 3px 2px #A66197; box-shadow: 1px 1px 3px 2px #A66197; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A66197; -webkit-box-shadow: 1px 1px 3px 2px #A66197; box-shadow:1px 1px 3px 2px #A66197;">
Div content here</div>
This text has color #A66197 on black background.
This text has color #A66197 on white background.
This text has black color on #A66197 background.
This text has white color on #A66197 background.