HEX: #A6A6BC
RGB: (166,166,188)
#A6A6BC contains red, green and blue colors in about the same proportion. Web safe color of #A6A6BC is #9999CC (or #99C).
#A6A6BC color RGB value is (166,166,188).
RGB: (166,166,188) (65%,65%,74%)
R 166 of 255 = 65%
G 166 of 255 = 65%
B 188 of 255 = 74%
R + G + B ~ 68%. #A6A6BC is quite light color.
R + G + B =
166 + 166 + 188 = 520 (100%)
R 166 of 520 ~ 31.92%
G 166 of 520 ~ 31.92%
B 188 of 520 ~ 36.15%
#A6A6BC color CMYK value is (12,12,0,26).
CMYK: (12,12,0,26) C12M12Y0K26 (12%,12%,0%,26%) (0.12/0.12/0.00/0.26)
A6 | A6 | BC | |
---|---|---|---|
RGB | 166 | 166 | 188 |
HSL | 240° | 14.10% | 69.41% |
HSB/HSV | 240° | 11.70% | 73.73% |
CMYK | 11.70% | 11.70% | 0.00% |
26.27% |
HEX | A6 | A6 | BC |
Decimal | 166 | 166 | 188 |
Binary | 10100110 | 10100110 | 10111100 |
Octal | 246 | 246 | 274 |
Examples of css and html codes for elements with #A6A6BC color. Also use rgb(166,166,188) instead hex code.
.myTextColor { color: #A6A6BC; }
<p style="color:#A6A6BC">This sample text font color is #A6A6BC.</p>
This text font color is #A6A6BC.
.myBgColor { background-color: #A6A6BC; }
<div style="background-color:#A6A6BC">Inner text</div>
This div background color is #A6A6BC.
.myBorderColor { border: 1px solid #A6A6BC; }
<div style="border:3px solid #A6A6BC">Div</div>
This div border color is #A6A6BC.
.myOpacity80 { color: #A6A6BC; opacity: 0.8; }
<p style="color:#A6A6BC;opacity:0.8;">80%</p>
Text with #A6A6BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6A6BC;}
<p style="text-shadow: 3px 3px 1px #A6A6BC">Text here.</p>
This text has shadow with #A6A6BC color.
.textShadow {text-shadow: 3px 3px 1px #A6A6BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6A6BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6A6BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6A6BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6A6BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6A6BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6A6BC; -webkit-box-shadow: 1px 1px 3px 2px #A6A6BC; box-shadow: 1px 1px 3px 2px #A6A6BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6A6BC; -webkit-box-shadow: 1px 1px 3px 2px #A6A6BC; box-shadow:1px 1px 3px 2px #A6A6BC;">
Div content here</div>
This text has color #A6A6BC on black background.
This text has color #A6A6BC on white background.
This text has black color on #A6A6BC background.
This text has white color on #A6A6BC background.