HEX: #AB8A25
RGB: (171,138,37)
#AB8A25 contains mainly red and green colors. Web safe color of #AB8A25 is #999933 (or #993).
#AB8A25 color RGB value is (171,138,37).
RGB: (171,138,37) (67%,54%,15%)
R 171 of 255 = 67%
G 138 of 255 = 54%
B 37 of 255 = 15%
R + G + B ~ 45%. #AB8A25 is middle color (not dark and not light).
R + G + B =
171 + 138 + 37 = 346 (100%)
R 171 of 346 ~ 49.42%
G 138 of 346 ~ 39.88%
B 37 of 346 ~ 10.69%
#AB8A25 color CMYK value is (0,19,78,33).
CMYK: (0,19,78,33) C0M19Y78K33 (0%,19%,78%,33%) (0.00/0.19/0.78/0.33)
AB | 8A | 25 | |
---|---|---|---|
RGB | 171 | 138 | 37 |
HSL | 45° | 64.42% | 40.78% |
HSB/HSV | 45° | 78.36% | 67.06% |
CMYK | 0.00% | 19.30% | 78.36% |
32.94% |
HEX | AB | 8A | 25 |
Decimal | 171 | 138 | 37 |
Binary | 10101011 | 10001010 | 100101 |
Octal | 253 | 212 | 45 |
Examples of css and html codes for elements with #AB8A25 color. Also use rgb(171,138,37) instead hex code.
.myTextColor { color: #AB8A25; }
<p style="color:#AB8A25">This sample text font color is #AB8A25.</p>
This text font color is #AB8A25.
.myBgColor { background-color: #AB8A25; }
<div style="background-color:#AB8A25">Inner text</div>
This div background color is #AB8A25.
.myBorderColor { border: 1px solid #AB8A25; }
<div style="border:3px solid #AB8A25">Div</div>
This div border color is #AB8A25.
.myOpacity80 { color: #AB8A25; opacity: 0.8; }
<p style="color:#AB8A25;opacity:0.8;">80%</p>
Text with #AB8A25 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8A25;}
<p style="text-shadow: 3px 3px 1px #AB8A25">Text here.</p>
This text has shadow with #AB8A25 color.
.textShadow {text-shadow: 3px 3px 1px #AB8A25, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8A25, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8A25 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8A25, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8A25, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8A25 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8A25; -webkit-box-shadow: 1px 1px 3px 2px #AB8A25; box-shadow: 1px 1px 3px 2px #AB8A25; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8A25; -webkit-box-shadow: 1px 1px 3px 2px #AB8A25; box-shadow:1px 1px 3px 2px #AB8A25;">
Div content here</div>
This text has color #AB8A25 on black background.
This text has color #AB8A25 on white background.
This text has black color on #AB8A25 background.
This text has white color on #AB8A25 background.