HEX: #AB8B3B
RGB: (171,139,59)
#AB8B3B contains mainly red and green colors. Web safe color of #AB8B3B is #999933 (or #993).
#AB8B3B color RGB value is (171,139,59).
RGB: (171,139,59) (67%,55%,23%)
R 171 of 255 = 67%
G 139 of 255 = 55%
B 59 of 255 = 23%
R + G + B ~ 48%. #AB8B3B is middle color (not dark and not light).
R + G + B =
171 + 139 + 59 = 369 (100%)
R 171 of 369 ~ 46.34%
G 139 of 369 ~ 37.67%
B 59 of 369 ~ 15.99%
#AB8B3B color CMYK value is (0,19,65,33).
CMYK: (0,19,65,33) C0M19Y65K33 (0%,19%,65%,33%) (0.00/0.19/0.65/0.33)
AB | 8B | 3B | |
---|---|---|---|
RGB | 171 | 139 | 59 |
HSL | 43° | 48.70% | 45.10% |
HSB/HSV | 43° | 65.50% | 67.06% |
CMYK | 0.00% | 18.71% | 65.50% |
32.94% |
HEX | AB | 8B | 3B |
Decimal | 171 | 139 | 59 |
Binary | 10101011 | 10001011 | 111011 |
Octal | 253 | 213 | 73 |
Examples of css and html codes for elements with #AB8B3B color. Also use rgb(171,139,59) instead hex code.
.myTextColor { color: #AB8B3B; }
<p style="color:#AB8B3B">This sample text font color is #AB8B3B.</p>
This text font color is #AB8B3B.
.myBgColor { background-color: #AB8B3B; }
<div style="background-color:#AB8B3B">Inner text</div>
This div background color is #AB8B3B.
.myBorderColor { border: 1px solid #AB8B3B; }
<div style="border:3px solid #AB8B3B">Div</div>
This div border color is #AB8B3B.
.myOpacity80 { color: #AB8B3B; opacity: 0.8; }
<p style="color:#AB8B3B;opacity:0.8;">80%</p>
Text with #AB8B3B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8B3B;}
<p style="text-shadow: 3px 3px 1px #AB8B3B">Text here.</p>
This text has shadow with #AB8B3B color.
.textShadow {text-shadow: 3px 3px 1px #AB8B3B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8B3B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8B3B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8B3B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8B3B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8B3B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8B3B; -webkit-box-shadow: 1px 1px 3px 2px #AB8B3B; box-shadow: 1px 1px 3px 2px #AB8B3B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8B3B; -webkit-box-shadow: 1px 1px 3px 2px #AB8B3B; box-shadow:1px 1px 3px 2px #AB8B3B;">
Div content here</div>
This text has color #AB8B3B on black background.
This text has color #AB8B3B on white background.
This text has black color on #AB8B3B background.
This text has white color on #AB8B3B background.