HEX: #A66C96
RGB: (166,108,150)
#A66C96 contains red, green and blue colors in about the same proportion. Web safe color of #A66C96 is #996699 (or #969).
#A66C96 color RGB value is (166,108,150).
RGB: (166,108,150) (65%,42%,59%)
R 166 of 255 = 65%
G 108 of 255 = 42%
B 150 of 255 = 59%
R + G + B ~ 55%. #A66C96 is middle color (not dark and not light).
R + G + B =
166 + 108 + 150 = 424 (100%)
R 166 of 424 ~ 39.15%
G 108 of 424 ~ 25.47%
B 150 of 424 ~ 35.38%
#A66C96 color CMYK value is (0,35,10,35).
CMYK: (0,35,10,35) C0M35Y10K35 (0%,35%,10%,35%) (0.00/0.35/0.10/0.35)
A6 | 6C | 96 | |
---|---|---|---|
RGB | 166 | 108 | 150 |
HSL | 317° | 24.58% | 53.73% |
HSB/HSV | 317° | 34.94% | 65.10% |
CMYK | 0.00% | 34.94% | 9.64% |
34.90% |
HEX | A6 | 6C | 96 |
Decimal | 166 | 108 | 150 |
Binary | 10100110 | 1101100 | 10010110 |
Octal | 246 | 154 | 226 |
Examples of css and html codes for elements with #A66C96 color. Also use rgb(166,108,150) instead hex code.
.myTextColor { color: #A66C96; }
<p style="color:#A66C96">This sample text font color is #A66C96.</p>
This text font color is #A66C96.
.myBgColor { background-color: #A66C96; }
<div style="background-color:#A66C96">Inner text</div>
This div background color is #A66C96.
.myBorderColor { border: 1px solid #A66C96; }
<div style="border:3px solid #A66C96">Div</div>
This div border color is #A66C96.
.myOpacity80 { color: #A66C96; opacity: 0.8; }
<p style="color:#A66C96;opacity:0.8;">80%</p>
Text with #A66C96 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A66C96;}
<p style="text-shadow: 3px 3px 1px #A66C96">Text here.</p>
This text has shadow with #A66C96 color.
.textShadow {text-shadow: 3px 3px 1px #A66C96, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A66C96, 5px 5px 20px red">Text here.</p>
This text has shadow with #A66C96 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A66C96, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A66C96, Direction=45, Strength=4)">Text</p>
This text has shadow with #A66C96 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A66C96; -webkit-box-shadow: 1px 1px 3px 2px #A66C96; box-shadow: 1px 1px 3px 2px #A66C96; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A66C96; -webkit-box-shadow: 1px 1px 3px 2px #A66C96; box-shadow:1px 1px 3px 2px #A66C96;">
Div content here</div>
This text has color #A66C96 on black background.
This text has color #A66C96 on white background.
This text has black color on #A66C96 background.
This text has white color on #A66C96 background.