HEX: #A6AABB
RGB: (166,170,187)
#A6AABB contains red, green and blue colors in about the same proportion. Web safe color of #A6AABB is #9999CC (or #99C).
#A6AABB color RGB value is (166,170,187).
RGB: (166,170,187) (65%,67%,73%)
R 166 of 255 = 65%
G 170 of 255 = 67%
B 187 of 255 = 73%
R + G + B ~ 68%. #A6AABB is quite light color.
R + G + B =
166 + 170 + 187 = 523 (100%)
R 166 of 523 ~ 31.74%
G 170 of 523 ~ 32.5%
B 187 of 523 ~ 35.76%
#A6AABB color CMYK value is (11,9,0,27).
CMYK: (11,9,0,27) C11M9Y0K27 (11%,9%,0%,27%) (0.11/0.09/0.00/0.27)
A6 | AA | BB | |
---|---|---|---|
RGB | 166 | 170 | 187 |
HSL | 229° | 13.38% | 69.22% |
HSB/HSV | 229° | 11.23% | 73.33% |
CMYK | 11.23% | 9.09% | 0.00% |
26.67% |
HEX | A6 | AA | BB |
Decimal | 166 | 170 | 187 |
Binary | 10100110 | 10101010 | 10111011 |
Octal | 246 | 252 | 273 |
Examples of css and html codes for elements with #A6AABB color. Also use rgb(166,170,187) instead hex code.
.myTextColor { color: #A6AABB; }
<p style="color:#A6AABB">This sample text font color is #A6AABB.</p>
This text font color is #A6AABB.
.myBgColor { background-color: #A6AABB; }
<div style="background-color:#A6AABB">Inner text</div>
This div background color is #A6AABB.
.myBorderColor { border: 1px solid #A6AABB; }
<div style="border:3px solid #A6AABB">Div</div>
This div border color is #A6AABB.
.myOpacity80 { color: #A6AABB; opacity: 0.8; }
<p style="color:#A6AABB;opacity:0.8;">80%</p>
Text with #A6AABB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6AABB;}
<p style="text-shadow: 3px 3px 1px #A6AABB">Text here.</p>
This text has shadow with #A6AABB color.
.textShadow {text-shadow: 3px 3px 1px #A6AABB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6AABB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6AABB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6AABB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6AABB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6AABB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6AABB; -webkit-box-shadow: 1px 1px 3px 2px #A6AABB; box-shadow: 1px 1px 3px 2px #A6AABB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6AABB; -webkit-box-shadow: 1px 1px 3px 2px #A6AABB; box-shadow:1px 1px 3px 2px #A6AABB;">
Div content here</div>
This text has color #A6AABB on black background.
This text has color #A6AABB on white background.
This text has black color on #A6AABB background.
This text has white color on #A6AABB background.