HEX: #A6807D
RGB: (166,128,125)
#A6807D contains red, green and blue colors in about the same proportion. Web safe color of #A6807D is #996666 (or #966).
#A6807D color RGB value is (166,128,125).
RGB: (166,128,125) (65%,50%,49%)
R 166 of 255 = 65%
G 128 of 255 = 50%
B 125 of 255 = 49%
R + G + B ~ 55%. #A6807D is middle color (not dark and not light).
R + G + B =
166 + 128 + 125 = 419 (100%)
R 166 of 419 ~ 39.62%
G 128 of 419 ~ 30.55%
B 125 of 419 ~ 29.83%
#A6807D color CMYK value is (0,23,25,35).
CMYK: (0,23,25,35) C0M23Y25K35 (0%,23%,25%,35%) (0.00/0.23/0.25/0.35)
A6 | 80 | 7D | |
---|---|---|---|
RGB | 166 | 128 | 125 |
HSL | 4° | 18.72% | 57.06% |
HSB/HSV | 4° | 24.70% | 65.10% |
CMYK | 0.00% | 22.89% | 24.70% |
34.90% |
HEX | A6 | 80 | 7D |
Decimal | 166 | 128 | 125 |
Binary | 10100110 | 10000000 | 1111101 |
Octal | 246 | 200 | 175 |
Examples of css and html codes for elements with #A6807D color. Also use rgb(166,128,125) instead hex code.
.myTextColor { color: #A6807D; }
<p style="color:#A6807D">This sample text font color is #A6807D.</p>
This text font color is #A6807D.
.myBgColor { background-color: #A6807D; }
<div style="background-color:#A6807D">Inner text</div>
This div background color is #A6807D.
.myBorderColor { border: 1px solid #A6807D; }
<div style="border:3px solid #A6807D">Div</div>
This div border color is #A6807D.
.myOpacity80 { color: #A6807D; opacity: 0.8; }
<p style="color:#A6807D;opacity:0.8;">80%</p>
Text with #A6807D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6807D;}
<p style="text-shadow: 3px 3px 1px #A6807D">Text here.</p>
This text has shadow with #A6807D color.
.textShadow {text-shadow: 3px 3px 1px #A6807D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6807D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6807D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6807D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6807D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6807D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6807D; -webkit-box-shadow: 1px 1px 3px 2px #A6807D; box-shadow: 1px 1px 3px 2px #A6807D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6807D; -webkit-box-shadow: 1px 1px 3px 2px #A6807D; box-shadow:1px 1px 3px 2px #A6807D;">
Div content here</div>
This text has color #A6807D on black background.
This text has color #A6807D on white background.
This text has black color on #A6807D background.
This text has white color on #A6807D background.