HEX: #AB9D37
RGB: (171,157,55)
#AB9D37 contains mainly red and green colors. Web safe color of #AB9D37 is #999933 (or #993).
#AB9D37 color RGB value is (171,157,55).
RGB: (171,157,55) (67%,62%,22%)
R 171 of 255 = 67%
G 157 of 255 = 62%
B 55 of 255 = 22%
R + G + B ~ 50%. #AB9D37 is middle color (not dark and not light).
R + G + B =
171 + 157 + 55 = 383 (100%)
R 171 of 383 ~ 44.65%
G 157 of 383 ~ 40.99%
B 55 of 383 ~ 14.36%
#AB9D37 color CMYK value is (0,8,68,33).
CMYK: (0,8,68,33) C0M8Y68K33 (0%,8%,68%,33%) (0.00/0.08/0.68/0.33)
AB | 9D | 37 | |
---|---|---|---|
RGB | 171 | 157 | 55 |
HSL | 53° | 51.33% | 44.31% |
HSB/HSV | 53° | 67.84% | 67.06% |
CMYK | 0.00% | 8.19% | 67.84% |
32.94% |
HEX | AB | 9D | 37 |
Decimal | 171 | 157 | 55 |
Binary | 10101011 | 10011101 | 110111 |
Octal | 253 | 235 | 67 |
Examples of css and html codes for elements with #AB9D37 color. Also use rgb(171,157,55) instead hex code.
.myTextColor { color: #AB9D37; }
<p style="color:#AB9D37">This sample text font color is #AB9D37.</p>
This text font color is #AB9D37.
.myBgColor { background-color: #AB9D37; }
<div style="background-color:#AB9D37">Inner text</div>
This div background color is #AB9D37.
.myBorderColor { border: 1px solid #AB9D37; }
<div style="border:3px solid #AB9D37">Div</div>
This div border color is #AB9D37.
.myOpacity80 { color: #AB9D37; opacity: 0.8; }
<p style="color:#AB9D37;opacity:0.8;">80%</p>
Text with #AB9D37 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9D37;}
<p style="text-shadow: 3px 3px 1px #AB9D37">Text here.</p>
This text has shadow with #AB9D37 color.
.textShadow {text-shadow: 3px 3px 1px #AB9D37, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9D37, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9D37 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9D37, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9D37, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9D37 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9D37; -webkit-box-shadow: 1px 1px 3px 2px #AB9D37; box-shadow: 1px 1px 3px 2px #AB9D37; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9D37; -webkit-box-shadow: 1px 1px 3px 2px #AB9D37; box-shadow:1px 1px 3px 2px #AB9D37;">
Div content here</div>
This text has color #AB9D37 on black background.
This text has color #AB9D37 on white background.
This text has black color on #AB9D37 background.
This text has white color on #AB9D37 background.