HEX: #A6B9DC
RGB: (166,185,220)
#A6B9DC contains red, green and blue colors in about the same proportion. Web safe color of #A6B9DC is #99CCCC (or #9CC).
#A6B9DC color RGB value is (166,185,220).
RGB: (166,185,220) (65%,73%,86%)
R 166 of 255 = 65%
G 185 of 255 = 73%
B 220 of 255 = 86%
R + G + B ~ 75%. #A6B9DC is quite light color.
R + G + B =
166 + 185 + 220 = 571 (100%)
R 166 of 571 ~ 29.07%
G 185 of 571 ~ 32.4%
B 220 of 571 ~ 38.53%
#A6B9DC color CMYK value is (25,16,0,14).
CMYK: (25,16,0,14) C25M16Y0K14 (25%,16%,0%,14%) (0.25/0.16/0.00/0.14)
A6 | B9 | DC | |
---|---|---|---|
RGB | 166 | 185 | 220 |
HSL | 219° | 43.55% | 75.69% |
HSB/HSV | 219° | 24.55% | 86.27% |
CMYK | 24.55% | 15.91% | 0.00% |
13.73% |
HEX | A6 | B9 | DC |
Decimal | 166 | 185 | 220 |
Binary | 10100110 | 10111001 | 11011100 |
Octal | 246 | 271 | 334 |
Examples of css and html codes for elements with #A6B9DC color. Also use rgb(166,185,220) instead hex code.
.myTextColor { color: #A6B9DC; }
<p style="color:#A6B9DC">This sample text font color is #A6B9DC.</p>
This text font color is #A6B9DC.
.myBgColor { background-color: #A6B9DC; }
<div style="background-color:#A6B9DC">Inner text</div>
This div background color is #A6B9DC.
.myBorderColor { border: 1px solid #A6B9DC; }
<div style="border:3px solid #A6B9DC">Div</div>
This div border color is #A6B9DC.
.myOpacity80 { color: #A6B9DC; opacity: 0.8; }
<p style="color:#A6B9DC;opacity:0.8;">80%</p>
Text with #A6B9DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6B9DC;}
<p style="text-shadow: 3px 3px 1px #A6B9DC">Text here.</p>
This text has shadow with #A6B9DC color.
.textShadow {text-shadow: 3px 3px 1px #A6B9DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6B9DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6B9DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6B9DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6B9DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6B9DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6B9DC; -webkit-box-shadow: 1px 1px 3px 2px #A6B9DC; box-shadow: 1px 1px 3px 2px #A6B9DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6B9DC; -webkit-box-shadow: 1px 1px 3px 2px #A6B9DC; box-shadow:1px 1px 3px 2px #A6B9DC;">
Div content here</div>
This text has color #A6B9DC on black background.
This text has color #A6B9DC on white background.
This text has black color on #A6B9DC background.
This text has white color on #A6B9DC background.