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