HEX: #AB976A
RGB: (171,151,106)
#AB976A contains mainly red and green colors. Web safe color of #AB976A is #999966 (or #996).
#AB976A color RGB value is (171,151,106).
RGB: (171,151,106) (67%,59%,42%)
R 171 of 255 = 67%
G 151 of 255 = 59%
B 106 of 255 = 42%
R + G + B ~ 56%. #AB976A is middle color (not dark and not light).
R + G + B =
171 + 151 + 106 = 428 (100%)
R 171 of 428 ~ 39.95%
G 151 of 428 ~ 35.28%
B 106 of 428 ~ 24.77%
#AB976A color CMYK value is (0,12,38,33).
CMYK: (0,12,38,33) C0M12Y38K33 (0%,12%,38%,33%) (0.00/0.12/0.38/0.33)
AB | 97 | 6A | |
---|---|---|---|
RGB | 171 | 151 | 106 |
HSL | 42° | 27.90% | 54.31% |
HSB/HSV | 42° | 38.01% | 67.06% |
CMYK | 0.00% | 11.70% | 38.01% |
32.94% |
HEX | AB | 97 | 6A |
Decimal | 171 | 151 | 106 |
Binary | 10101011 | 10010111 | 1101010 |
Octal | 253 | 227 | 152 |
Examples of css and html codes for elements with #AB976A color. Also use rgb(171,151,106) instead hex code.
.myTextColor { color: #AB976A; }
<p style="color:#AB976A">This sample text font color is #AB976A.</p>
This text font color is #AB976A.
.myBgColor { background-color: #AB976A; }
<div style="background-color:#AB976A">Inner text</div>
This div background color is #AB976A.
.myBorderColor { border: 1px solid #AB976A; }
<div style="border:3px solid #AB976A">Div</div>
This div border color is #AB976A.
.myOpacity80 { color: #AB976A; opacity: 0.8; }
<p style="color:#AB976A;opacity:0.8;">80%</p>
Text with #AB976A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB976A;}
<p style="text-shadow: 3px 3px 1px #AB976A">Text here.</p>
This text has shadow with #AB976A color.
.textShadow {text-shadow: 3px 3px 1px #AB976A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB976A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB976A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB976A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB976A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB976A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB976A; -webkit-box-shadow: 1px 1px 3px 2px #AB976A; box-shadow: 1px 1px 3px 2px #AB976A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB976A; -webkit-box-shadow: 1px 1px 3px 2px #AB976A; box-shadow:1px 1px 3px 2px #AB976A;">
Div content here</div>
This text has color #AB976A on black background.
This text has color #AB976A on white background.
This text has black color on #AB976A background.
This text has white color on #AB976A background.