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