HEX: #AB7E2E
RGB: (171,126,46)
#AB7E2E contains mainly red and green colors. Web safe color of #AB7E2E is #996633 (or #963).
#AB7E2E color RGB value is (171,126,46).
RGB: (171,126,46) (67%,49%,18%)
R 171 of 255 = 67%
G 126 of 255 = 49%
B 46 of 255 = 18%
R + G + B ~ 45%. #AB7E2E is middle color (not dark and not light).
R + G + B =
171 + 126 + 46 = 343 (100%)
R 171 of 343 ~ 49.85%
G 126 of 343 ~ 36.73%
B 46 of 343 ~ 13.41%
#AB7E2E color CMYK value is (0,26,73,33).
CMYK: (0,26,73,33) C0M26Y73K33 (0%,26%,73%,33%) (0.00/0.26/0.73/0.33)
AB | 7E | 2E | |
---|---|---|---|
RGB | 171 | 126 | 46 |
HSL | 38° | 57.60% | 42.55% |
HSB/HSV | 38° | 73.10% | 67.06% |
CMYK | 0.00% | 26.32% | 73.10% |
32.94% |
HEX | AB | 7E | 2E |
Decimal | 171 | 126 | 46 |
Binary | 10101011 | 1111110 | 101110 |
Octal | 253 | 176 | 56 |
Examples of css and html codes for elements with #AB7E2E color. Also use rgb(171,126,46) instead hex code.
.myTextColor { color: #AB7E2E; }
<p style="color:#AB7E2E">This sample text font color is #AB7E2E.</p>
This text font color is #AB7E2E.
.myBgColor { background-color: #AB7E2E; }
<div style="background-color:#AB7E2E">Inner text</div>
This div background color is #AB7E2E.
.myBorderColor { border: 1px solid #AB7E2E; }
<div style="border:3px solid #AB7E2E">Div</div>
This div border color is #AB7E2E.
.myOpacity80 { color: #AB7E2E; opacity: 0.8; }
<p style="color:#AB7E2E;opacity:0.8;">80%</p>
Text with #AB7E2E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7E2E;}
<p style="text-shadow: 3px 3px 1px #AB7E2E">Text here.</p>
This text has shadow with #AB7E2E color.
.textShadow {text-shadow: 3px 3px 1px #AB7E2E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7E2E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7E2E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7E2E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7E2E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7E2E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7E2E; -webkit-box-shadow: 1px 1px 3px 2px #AB7E2E; box-shadow: 1px 1px 3px 2px #AB7E2E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7E2E; -webkit-box-shadow: 1px 1px 3px 2px #AB7E2E; box-shadow:1px 1px 3px 2px #AB7E2E;">
Div content here</div>
This text has color #AB7E2E on black background.
This text has color #AB7E2E on white background.
This text has black color on #AB7E2E background.
This text has white color on #AB7E2E background.