HEX: #AB786A
RGB: (171,120,106)
#AB786A contains mainly red and green colors. Web safe color of #AB786A is #996666 (or #966).
#AB786A color RGB value is (171,120,106).
RGB: (171,120,106) (67%,47%,42%)
R 171 of 255 = 67%
G 120 of 255 = 47%
B 106 of 255 = 42%
R + G + B ~ 52%. #AB786A is middle color (not dark and not light).
R + G + B =
171 + 120 + 106 = 397 (100%)
R 171 of 397 ~ 43.07%
G 120 of 397 ~ 30.23%
B 106 of 397 ~ 26.7%
#AB786A color CMYK value is (0,30,38,33).
CMYK: (0,30,38,33) C0M30Y38K33 (0%,30%,38%,33%) (0.00/0.30/0.38/0.33)
AB | 78 | 6A | |
---|---|---|---|
RGB | 171 | 120 | 106 |
HSL | 13° | 27.90% | 54.31% |
HSB/HSV | 13° | 38.01% | 67.06% |
CMYK | 0.00% | 29.82% | 38.01% |
32.94% |
HEX | AB | 78 | 6A |
Decimal | 171 | 120 | 106 |
Binary | 10101011 | 1111000 | 1101010 |
Octal | 253 | 170 | 152 |
Examples of css and html codes for elements with #AB786A color. Also use rgb(171,120,106) instead hex code.
.myTextColor { color: #AB786A; }
<p style="color:#AB786A">This sample text font color is #AB786A.</p>
This text font color is #AB786A.
.myBgColor { background-color: #AB786A; }
<div style="background-color:#AB786A">Inner text</div>
This div background color is #AB786A.
.myBorderColor { border: 1px solid #AB786A; }
<div style="border:3px solid #AB786A">Div</div>
This div border color is #AB786A.
.myOpacity80 { color: #AB786A; opacity: 0.8; }
<p style="color:#AB786A;opacity:0.8;">80%</p>
Text with #AB786A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB786A;}
<p style="text-shadow: 3px 3px 1px #AB786A">Text here.</p>
This text has shadow with #AB786A color.
.textShadow {text-shadow: 3px 3px 1px #AB786A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB786A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB786A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB786A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB786A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB786A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB786A; -webkit-box-shadow: 1px 1px 3px 2px #AB786A; box-shadow: 1px 1px 3px 2px #AB786A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB786A; -webkit-box-shadow: 1px 1px 3px 2px #AB786A; box-shadow:1px 1px 3px 2px #AB786A;">
Div content here</div>
This text has color #AB786A on black background.
This text has color #AB786A on white background.
This text has black color on #AB786A background.
This text has white color on #AB786A background.