HEX: #A6797A
RGB: (166,121,122)
#A6797A contains red, green and blue colors in about the same proportion. Web safe color of #A6797A is #996666 (or #966).
#A6797A color RGB value is (166,121,122).
RGB: (166,121,122) (65%,47%,48%)
R 166 of 255 = 65%
G 121 of 255 = 47%
B 122 of 255 = 48%
R + G + B ~ 53%. #A6797A is middle color (not dark and not light).
R + G + B =
166 + 121 + 122 = 409 (100%)
R 166 of 409 ~ 40.59%
G 121 of 409 ~ 29.58%
B 122 of 409 ~ 29.83%
#A6797A color CMYK value is (0,27,27,35).
CMYK: (0,27,27,35) C0M27Y27K35 (0%,27%,27%,35%) (0.00/0.27/0.27/0.35)
A6 | 79 | 7A | |
---|---|---|---|
RGB | 166 | 121 | 122 |
HSL | 359° | 20.18% | 56.27% |
HSB/HSV | 359° | 27.11% | 65.10% |
CMYK | 0.00% | 27.11% | 26.51% |
34.90% |
HEX | A6 | 79 | 7A |
Decimal | 166 | 121 | 122 |
Binary | 10100110 | 1111001 | 1111010 |
Octal | 246 | 171 | 172 |
Examples of css and html codes for elements with #A6797A color. Also use rgb(166,121,122) instead hex code.
.myTextColor { color: #A6797A; }
<p style="color:#A6797A">This sample text font color is #A6797A.</p>
This text font color is #A6797A.
.myBgColor { background-color: #A6797A; }
<div style="background-color:#A6797A">Inner text</div>
This div background color is #A6797A.
.myBorderColor { border: 1px solid #A6797A; }
<div style="border:3px solid #A6797A">Div</div>
This div border color is #A6797A.
.myOpacity80 { color: #A6797A; opacity: 0.8; }
<p style="color:#A6797A;opacity:0.8;">80%</p>
Text with #A6797A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6797A;}
<p style="text-shadow: 3px 3px 1px #A6797A">Text here.</p>
This text has shadow with #A6797A color.
.textShadow {text-shadow: 3px 3px 1px #A6797A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6797A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6797A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6797A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6797A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6797A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6797A; -webkit-box-shadow: 1px 1px 3px 2px #A6797A; box-shadow: 1px 1px 3px 2px #A6797A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6797A; -webkit-box-shadow: 1px 1px 3px 2px #A6797A; box-shadow:1px 1px 3px 2px #A6797A;">
Div content here</div>
This text has color #A6797A on black background.
This text has color #A6797A on white background.
This text has black color on #A6797A background.
This text has white color on #A6797A background.