HEX: #AB8E9D
RGB: (171,142,157)
#AB8E9D contains red, green and blue colors in about the same proportion. Web safe color of #AB8E9D is #999999 (or #999).
#AB8E9D color RGB value is (171,142,157).
RGB: (171,142,157) (67%,56%,62%)
R 171 of 255 = 67%
G 142 of 255 = 56%
B 157 of 255 = 62%
R + G + B ~ 62%. #AB8E9D is quite light color.
R + G + B =
171 + 142 + 157 = 470 (100%)
R 171 of 470 ~ 36.38%
G 142 of 470 ~ 30.21%
B 157 of 470 ~ 33.4%
#AB8E9D color CMYK value is (0,17,8,33).
CMYK: (0,17,8,33) C0M17Y8K33 (0%,17%,8%,33%) (0.00/0.17/0.08/0.33)
AB | 8E | 9D | |
---|---|---|---|
RGB | 171 | 142 | 157 |
HSL | 329° | 14.72% | 61.37% |
HSB/HSV | 329° | 16.96% | 67.06% |
CMYK | 0.00% | 16.96% | 8.19% |
32.94% |
HEX | AB | 8E | 9D |
Decimal | 171 | 142 | 157 |
Binary | 10101011 | 10001110 | 10011101 |
Octal | 253 | 216 | 235 |
Examples of css and html codes for elements with #AB8E9D color. Also use rgb(171,142,157) instead hex code.
.myTextColor { color: #AB8E9D; }
<p style="color:#AB8E9D">This sample text font color is #AB8E9D.</p>
This text font color is #AB8E9D.
.myBgColor { background-color: #AB8E9D; }
<div style="background-color:#AB8E9D">Inner text</div>
This div background color is #AB8E9D.
.myBorderColor { border: 1px solid #AB8E9D; }
<div style="border:3px solid #AB8E9D">Div</div>
This div border color is #AB8E9D.
.myOpacity80 { color: #AB8E9D; opacity: 0.8; }
<p style="color:#AB8E9D;opacity:0.8;">80%</p>
Text with #AB8E9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8E9D;}
<p style="text-shadow: 3px 3px 1px #AB8E9D">Text here.</p>
This text has shadow with #AB8E9D color.
.textShadow {text-shadow: 3px 3px 1px #AB8E9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8E9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8E9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8E9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8E9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8E9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8E9D; -webkit-box-shadow: 1px 1px 3px 2px #AB8E9D; box-shadow: 1px 1px 3px 2px #AB8E9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8E9D; -webkit-box-shadow: 1px 1px 3px 2px #AB8E9D; box-shadow:1px 1px 3px 2px #AB8E9D;">
Div content here</div>
This text has color #AB8E9D on black background.
This text has color #AB8E9D on white background.
This text has black color on #AB8E9D background.
This text has white color on #AB8E9D background.