HEX: #AB7D4C
RGB: (171,125,76)
#AB7D4C contains mainly red and green colors. Web safe color of #AB7D4C is #996633 (or #963).
#AB7D4C color RGB value is (171,125,76).
RGB: (171,125,76) (67%,49%,30%)
R 171 of 255 = 67%
G 125 of 255 = 49%
B 76 of 255 = 30%
R + G + B ~ 49%. #AB7D4C is middle color (not dark and not light).
R + G + B =
171 + 125 + 76 = 372 (100%)
R 171 of 372 ~ 45.97%
G 125 of 372 ~ 33.6%
B 76 of 372 ~ 20.43%
#AB7D4C color CMYK value is (0,27,56,33).
CMYK: (0,27,56,33) C0M27Y56K33 (0%,27%,56%,33%) (0.00/0.27/0.56/0.33)
AB | 7D | 4C | |
---|---|---|---|
RGB | 171 | 125 | 76 |
HSL | 31° | 38.46% | 48.43% |
HSB/HSV | 31° | 55.56% | 67.06% |
CMYK | 0.00% | 26.90% | 55.56% |
32.94% |
HEX | AB | 7D | 4C |
Decimal | 171 | 125 | 76 |
Binary | 10101011 | 1111101 | 1001100 |
Octal | 253 | 175 | 114 |
Examples of css and html codes for elements with #AB7D4C color. Also use rgb(171,125,76) instead hex code.
.myTextColor { color: #AB7D4C; }
<p style="color:#AB7D4C">This sample text font color is #AB7D4C.</p>
This text font color is #AB7D4C.
.myBgColor { background-color: #AB7D4C; }
<div style="background-color:#AB7D4C">Inner text</div>
This div background color is #AB7D4C.
.myBorderColor { border: 1px solid #AB7D4C; }
<div style="border:3px solid #AB7D4C">Div</div>
This div border color is #AB7D4C.
.myOpacity80 { color: #AB7D4C; opacity: 0.8; }
<p style="color:#AB7D4C;opacity:0.8;">80%</p>
Text with #AB7D4C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7D4C;}
<p style="text-shadow: 3px 3px 1px #AB7D4C">Text here.</p>
This text has shadow with #AB7D4C color.
.textShadow {text-shadow: 3px 3px 1px #AB7D4C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7D4C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7D4C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7D4C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7D4C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7D4C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7D4C; -webkit-box-shadow: 1px 1px 3px 2px #AB7D4C; box-shadow: 1px 1px 3px 2px #AB7D4C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7D4C; -webkit-box-shadow: 1px 1px 3px 2px #AB7D4C; box-shadow:1px 1px 3px 2px #AB7D4C;">
Div content here</div>
This text has color #AB7D4C on black background.
This text has color #AB7D4C on white background.
This text has black color on #AB7D4C background.
This text has white color on #AB7D4C background.