HEX: #AB8F9C
RGB: (171,143,156)
#AB8F9C contains red, green and blue colors in about the same proportion. Web safe color of #AB8F9C is #999999 (or #999).
#AB8F9C color RGB value is (171,143,156).
RGB: (171,143,156) (67%,56%,61%)
R 171 of 255 = 67%
G 143 of 255 = 56%
B 156 of 255 = 61%
R + G + B ~ 61%. #AB8F9C is quite light color.
R + G + B =
171 + 143 + 156 = 470 (100%)
R 171 of 470 ~ 36.38%
G 143 of 470 ~ 30.43%
B 156 of 470 ~ 33.19%
#AB8F9C color CMYK value is (0,16,9,33).
CMYK: (0,16,9,33) C0M16Y9K33 (0%,16%,9%,33%) (0.00/0.16/0.09/0.33)
AB | 8F | 9C | |
---|---|---|---|
RGB | 171 | 143 | 156 |
HSL | 332° | 14.29% | 61.57% |
HSB/HSV | 332° | 16.37% | 67.06% |
CMYK | 0.00% | 16.37% | 8.77% |
32.94% |
HEX | AB | 8F | 9C |
Decimal | 171 | 143 | 156 |
Binary | 10101011 | 10001111 | 10011100 |
Octal | 253 | 217 | 234 |
Examples of css and html codes for elements with #AB8F9C color. Also use rgb(171,143,156) instead hex code.
.myTextColor { color: #AB8F9C; }
<p style="color:#AB8F9C">This sample text font color is #AB8F9C.</p>
This text font color is #AB8F9C.
.myBgColor { background-color: #AB8F9C; }
<div style="background-color:#AB8F9C">Inner text</div>
This div background color is #AB8F9C.
.myBorderColor { border: 1px solid #AB8F9C; }
<div style="border:3px solid #AB8F9C">Div</div>
This div border color is #AB8F9C.
.myOpacity80 { color: #AB8F9C; opacity: 0.8; }
<p style="color:#AB8F9C;opacity:0.8;">80%</p>
Text with #AB8F9C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8F9C;}
<p style="text-shadow: 3px 3px 1px #AB8F9C">Text here.</p>
This text has shadow with #AB8F9C color.
.textShadow {text-shadow: 3px 3px 1px #AB8F9C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8F9C, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8F9C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8F9C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8F9C, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8F9C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8F9C; -webkit-box-shadow: 1px 1px 3px 2px #AB8F9C; box-shadow: 1px 1px 3px 2px #AB8F9C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8F9C; -webkit-box-shadow: 1px 1px 3px 2px #AB8F9C; box-shadow:1px 1px 3px 2px #AB8F9C;">
Div content here</div>
This text has color #AB8F9C on black background.
This text has color #AB8F9C on white background.
This text has black color on #AB8F9C background.
This text has white color on #AB8F9C background.