HEX: #AB998C
RGB: (171,153,140)
#AB998C contains red, green and blue colors in about the same proportion. Web safe color of #AB998C is #999999 (or #999).
#AB998C color RGB value is (171,153,140).
RGB: (171,153,140) (67%,60%,55%)
R 171 of 255 = 67%
G 153 of 255 = 60%
B 140 of 255 = 55%
R + G + B ~ 61%. #AB998C is quite light color.
R + G + B =
171 + 153 + 140 = 464 (100%)
R 171 of 464 ~ 36.85%
G 153 of 464 ~ 32.97%
B 140 of 464 ~ 30.17%
#AB998C color CMYK value is (0,11,18,33).
CMYK: (0,11,18,33) C0M11Y18K33 (0%,11%,18%,33%) (0.00/0.11/0.18/0.33)
AB | 99 | 8C | |
---|---|---|---|
RGB | 171 | 153 | 140 |
HSL | 25° | 15.58% | 60.98% |
HSB/HSV | 25° | 18.13% | 67.06% |
CMYK | 0.00% | 10.53% | 18.13% |
32.94% |
HEX | AB | 99 | 8C |
Decimal | 171 | 153 | 140 |
Binary | 10101011 | 10011001 | 10001100 |
Octal | 253 | 231 | 214 |
Examples of css and html codes for elements with #AB998C color. Also use rgb(171,153,140) instead hex code.
.myTextColor { color: #AB998C; }
<p style="color:#AB998C">This sample text font color is #AB998C.</p>
This text font color is #AB998C.
.myBgColor { background-color: #AB998C; }
<div style="background-color:#AB998C">Inner text</div>
This div background color is #AB998C.
.myBorderColor { border: 1px solid #AB998C; }
<div style="border:3px solid #AB998C">Div</div>
This div border color is #AB998C.
.myOpacity80 { color: #AB998C; opacity: 0.8; }
<p style="color:#AB998C;opacity:0.8;">80%</p>
Text with #AB998C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB998C;}
<p style="text-shadow: 3px 3px 1px #AB998C">Text here.</p>
This text has shadow with #AB998C color.
.textShadow {text-shadow: 3px 3px 1px #AB998C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB998C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB998C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB998C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB998C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB998C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB998C; -webkit-box-shadow: 1px 1px 3px 2px #AB998C; box-shadow: 1px 1px 3px 2px #AB998C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB998C; -webkit-box-shadow: 1px 1px 3px 2px #AB998C; box-shadow:1px 1px 3px 2px #AB998C;">
Div content here</div>
This text has color #AB998C on black background.
This text has color #AB998C on white background.
This text has black color on #AB998C background.
This text has white color on #AB998C background.