HEX: #A6788A
RGB: (166,120,138)
#A6788A contains red, green and blue colors in about the same proportion. Web safe color of #A6788A is #996699 (or #969).
#A6788A color RGB value is (166,120,138).
RGB: (166,120,138) (65%,47%,54%)
R 166 of 255 = 65%
G 120 of 255 = 47%
B 138 of 255 = 54%
R + G + B ~ 55%. #A6788A is middle color (not dark and not light).
R + G + B =
166 + 120 + 138 = 424 (100%)
R 166 of 424 ~ 39.15%
G 120 of 424 ~ 28.3%
B 138 of 424 ~ 32.55%
#A6788A color CMYK value is (0,28,17,35).
CMYK: (0,28,17,35) C0M28Y17K35 (0%,28%,17%,35%) (0.00/0.28/0.17/0.35)
A6 | 78 | 8A | |
---|---|---|---|
RGB | 166 | 120 | 138 |
HSL | 337° | 20.54% | 56.08% |
HSB/HSV | 337° | 27.71% | 65.10% |
CMYK | 0.00% | 27.71% | 16.87% |
34.90% |
HEX | A6 | 78 | 8A |
Decimal | 166 | 120 | 138 |
Binary | 10100110 | 1111000 | 10001010 |
Octal | 246 | 170 | 212 |
Examples of css and html codes for elements with #A6788A color. Also use rgb(166,120,138) instead hex code.
.myTextColor { color: #A6788A; }
<p style="color:#A6788A">This sample text font color is #A6788A.</p>
This text font color is #A6788A.
.myBgColor { background-color: #A6788A; }
<div style="background-color:#A6788A">Inner text</div>
This div background color is #A6788A.
.myBorderColor { border: 1px solid #A6788A; }
<div style="border:3px solid #A6788A">Div</div>
This div border color is #A6788A.
.myOpacity80 { color: #A6788A; opacity: 0.8; }
<p style="color:#A6788A;opacity:0.8;">80%</p>
Text with #A6788A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6788A;}
<p style="text-shadow: 3px 3px 1px #A6788A">Text here.</p>
This text has shadow with #A6788A color.
.textShadow {text-shadow: 3px 3px 1px #A6788A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6788A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6788A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6788A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6788A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6788A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6788A; -webkit-box-shadow: 1px 1px 3px 2px #A6788A; box-shadow: 1px 1px 3px 2px #A6788A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6788A; -webkit-box-shadow: 1px 1px 3px 2px #A6788A; box-shadow:1px 1px 3px 2px #A6788A;">
Div content here</div>
This text has color #A6788A on black background.
This text has color #A6788A on white background.
This text has black color on #A6788A background.
This text has white color on #A6788A background.