HEX: #A6717F
RGB: (166,113,127)
#A6717F contains red, green and blue colors in about the same proportion. Web safe color of #A6717F is #996666 (or #966).
#A6717F color RGB value is (166,113,127).
RGB: (166,113,127) (65%,44%,50%)
R 166 of 255 = 65%
G 113 of 255 = 44%
B 127 of 255 = 50%
R + G + B ~ 53%. #A6717F is middle color (not dark and not light).
R + G + B =
166 + 113 + 127 = 406 (100%)
R 166 of 406 ~ 40.89%
G 113 of 406 ~ 27.83%
B 127 of 406 ~ 31.28%
#A6717F color CMYK value is (0,32,23,35).
CMYK: (0,32,23,35) C0M32Y23K35 (0%,32%,23%,35%) (0.00/0.32/0.23/0.35)
A6 | 71 | 7F | |
---|---|---|---|
RGB | 166 | 113 | 127 |
HSL | 344° | 22.94% | 54.71% |
HSB/HSV | 344° | 31.93% | 65.10% |
CMYK | 0.00% | 31.93% | 23.49% |
34.90% |
HEX | A6 | 71 | 7F |
Decimal | 166 | 113 | 127 |
Binary | 10100110 | 1110001 | 1111111 |
Octal | 246 | 161 | 177 |
Examples of css and html codes for elements with #A6717F color. Also use rgb(166,113,127) instead hex code.
.myTextColor { color: #A6717F; }
<p style="color:#A6717F">This sample text font color is #A6717F.</p>
This text font color is #A6717F.
.myBgColor { background-color: #A6717F; }
<div style="background-color:#A6717F">Inner text</div>
This div background color is #A6717F.
.myBorderColor { border: 1px solid #A6717F; }
<div style="border:3px solid #A6717F">Div</div>
This div border color is #A6717F.
.myOpacity80 { color: #A6717F; opacity: 0.8; }
<p style="color:#A6717F;opacity:0.8;">80%</p>
Text with #A6717F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6717F;}
<p style="text-shadow: 3px 3px 1px #A6717F">Text here.</p>
This text has shadow with #A6717F color.
.textShadow {text-shadow: 3px 3px 1px #A6717F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6717F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6717F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6717F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6717F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6717F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6717F; -webkit-box-shadow: 1px 1px 3px 2px #A6717F; box-shadow: 1px 1px 3px 2px #A6717F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6717F; -webkit-box-shadow: 1px 1px 3px 2px #A6717F; box-shadow:1px 1px 3px 2px #A6717F;">
Div content here</div>
This text has color #A6717F on black background.
This text has color #A6717F on white background.
This text has black color on #A6717F background.
This text has white color on #A6717F background.