HEX: #AB8729
RGB: (171,135,41)
#AB8729 contains mainly red and green colors. Web safe color of #AB8729 is #999933 (or #993).
#AB8729 color RGB value is (171,135,41).
RGB: (171,135,41) (67%,53%,16%)
R 171 of 255 = 67%
G 135 of 255 = 53%
B 41 of 255 = 16%
R + G + B ~ 45%. #AB8729 is middle color (not dark and not light).
R + G + B =
171 + 135 + 41 = 347 (100%)
R 171 of 347 ~ 49.28%
G 135 of 347 ~ 38.9%
B 41 of 347 ~ 11.82%
#AB8729 color CMYK value is (0,21,76,33).
CMYK: (0,21,76,33) C0M21Y76K33 (0%,21%,76%,33%) (0.00/0.21/0.76/0.33)
AB | 87 | 29 | |
---|---|---|---|
RGB | 171 | 135 | 41 |
HSL | 43° | 61.32% | 41.57% |
HSB/HSV | 43° | 76.02% | 67.06% |
CMYK | 0.00% | 21.05% | 76.02% |
32.94% |
HEX | AB | 87 | 29 |
Decimal | 171 | 135 | 41 |
Binary | 10101011 | 10000111 | 101001 |
Octal | 253 | 207 | 51 |
Examples of css and html codes for elements with #AB8729 color. Also use rgb(171,135,41) instead hex code.
.myTextColor { color: #AB8729; }
<p style="color:#AB8729">This sample text font color is #AB8729.</p>
This text font color is #AB8729.
.myBgColor { background-color: #AB8729; }
<div style="background-color:#AB8729">Inner text</div>
This div background color is #AB8729.
.myBorderColor { border: 1px solid #AB8729; }
<div style="border:3px solid #AB8729">Div</div>
This div border color is #AB8729.
.myOpacity80 { color: #AB8729; opacity: 0.8; }
<p style="color:#AB8729;opacity:0.8;">80%</p>
Text with #AB8729 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8729;}
<p style="text-shadow: 3px 3px 1px #AB8729">Text here.</p>
This text has shadow with #AB8729 color.
.textShadow {text-shadow: 3px 3px 1px #AB8729, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8729, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8729 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8729, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8729, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8729 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8729; -webkit-box-shadow: 1px 1px 3px 2px #AB8729; box-shadow: 1px 1px 3px 2px #AB8729; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8729; -webkit-box-shadow: 1px 1px 3px 2px #AB8729; box-shadow:1px 1px 3px 2px #AB8729;">
Div content here</div>
This text has color #AB8729 on black background.
This text has color #AB8729 on white background.
This text has black color on #AB8729 background.
This text has white color on #AB8729 background.