HEX: #A8B9AB
RGB: (168,185,171)
#A8B9AB contains red, green and blue colors in about the same proportion. Web safe color of #A8B9AB is #99CC99 (or #9C9).
#A8B9AB color RGB value is (168,185,171).
RGB: (168,185,171) (66%,73%,67%)
R 168 of 255 = 66%
G 185 of 255 = 73%
B 171 of 255 = 67%
R + G + B ~ 69%. #A8B9AB is quite light color.
R + G + B =
168 + 185 + 171 = 524 (100%)
R 168 of 524 ~ 32.06%
G 185 of 524 ~ 35.31%
B 171 of 524 ~ 32.63%
#A8B9AB color CMYK value is (9,0,8,27).
CMYK: (9,0,8,27) C9M0Y8K27 (9%,0%,8%,27%) (0.09/0.00/0.08/0.27)
A8 | B9 | AB | |
---|---|---|---|
RGB | 168 | 185 | 171 |
HSL | 131° | 10.83% | 69.22% |
HSB/HSV | 131° | 9.19% | 72.55% |
CMYK | 9.19% | 0.00% | 7.57% |
27.45% |
HEX | A8 | B9 | AB |
Decimal | 168 | 185 | 171 |
Binary | 10101000 | 10111001 | 10101011 |
Octal | 250 | 271 | 253 |
Examples of css and html codes for elements with #A8B9AB color. Also use rgb(168,185,171) instead hex code.
.myTextColor { color: #A8B9AB; }
<p style="color:#A8B9AB">This sample text font color is #A8B9AB.</p>
This text font color is #A8B9AB.
.myBgColor { background-color: #A8B9AB; }
<div style="background-color:#A8B9AB">Inner text</div>
This div background color is #A8B9AB.
.myBorderColor { border: 1px solid #A8B9AB; }
<div style="border:3px solid #A8B9AB">Div</div>
This div border color is #A8B9AB.
.myOpacity80 { color: #A8B9AB; opacity: 0.8; }
<p style="color:#A8B9AB;opacity:0.8;">80%</p>
Text with #A8B9AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8B9AB;}
<p style="text-shadow: 3px 3px 1px #A8B9AB">Text here.</p>
This text has shadow with #A8B9AB color.
.textShadow {text-shadow: 3px 3px 1px #A8B9AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8B9AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8B9AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8B9AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8B9AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8B9AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8B9AB; -webkit-box-shadow: 1px 1px 3px 2px #A8B9AB; box-shadow: 1px 1px 3px 2px #A8B9AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8B9AB; -webkit-box-shadow: 1px 1px 3px 2px #A8B9AB; box-shadow:1px 1px 3px 2px #A8B9AB;">
Div content here</div>
This text has color #A8B9AB on black background.
This text has color #A8B9AB on white background.
This text has black color on #A8B9AB background.
This text has white color on #A8B9AB background.