HEX: #A6BADB
RGB: (166,186,219)
#A6BADB contains red, green and blue colors in about the same proportion. Web safe color of #A6BADB is #99CCCC (or #9CC).
#A6BADB color RGB value is (166,186,219).
RGB: (166,186,219) (65%,73%,86%)
R 166 of 255 = 65%
G 186 of 255 = 73%
B 219 of 255 = 86%
R + G + B ~ 75%. #A6BADB is quite light color.
R + G + B =
166 + 186 + 219 = 571 (100%)
R 166 of 571 ~ 29.07%
G 186 of 571 ~ 32.57%
B 219 of 571 ~ 38.35%
#A6BADB color CMYK value is (24,15,0,14).
CMYK: (24,15,0,14) C24M15Y0K14 (24%,15%,0%,14%) (0.24/0.15/0.00/0.14)
A6 | BA | DB | |
---|---|---|---|
RGB | 166 | 186 | 219 |
HSL | 217° | 42.40% | 75.49% |
HSB/HSV | 217° | 24.20% | 85.88% |
CMYK | 24.20% | 15.07% | 0.00% |
14.12% |
HEX | A6 | BA | DB |
Decimal | 166 | 186 | 219 |
Binary | 10100110 | 10111010 | 11011011 |
Octal | 246 | 272 | 333 |
Examples of css and html codes for elements with #A6BADB color. Also use rgb(166,186,219) instead hex code.
.myTextColor { color: #A6BADB; }
<p style="color:#A6BADB">This sample text font color is #A6BADB.</p>
This text font color is #A6BADB.
.myBgColor { background-color: #A6BADB; }
<div style="background-color:#A6BADB">Inner text</div>
This div background color is #A6BADB.
.myBorderColor { border: 1px solid #A6BADB; }
<div style="border:3px solid #A6BADB">Div</div>
This div border color is #A6BADB.
.myOpacity80 { color: #A6BADB; opacity: 0.8; }
<p style="color:#A6BADB;opacity:0.8;">80%</p>
Text with #A6BADB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6BADB;}
<p style="text-shadow: 3px 3px 1px #A6BADB">Text here.</p>
This text has shadow with #A6BADB color.
.textShadow {text-shadow: 3px 3px 1px #A6BADB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6BADB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6BADB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6BADB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6BADB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6BADB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6BADB; -webkit-box-shadow: 1px 1px 3px 2px #A6BADB; box-shadow: 1px 1px 3px 2px #A6BADB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6BADB; -webkit-box-shadow: 1px 1px 3px 2px #A6BADB; box-shadow:1px 1px 3px 2px #A6BADB;">
Div content here</div>
This text has color #A6BADB on black background.
This text has color #A6BADB on white background.
This text has black color on #A6BADB background.
This text has white color on #A6BADB background.