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