HEX: #A6B8D8
RGB: (166,184,216)
#A6B8D8 contains red, green and blue colors in about the same proportion. Web safe color of #A6B8D8 is #99CCCC (or #9CC).
#A6B8D8 color RGB value is (166,184,216).
RGB: (166,184,216) (65%,72%,85%)
R 166 of 255 = 65%
G 184 of 255 = 72%
B 216 of 255 = 85%
R + G + B ~ 74%. #A6B8D8 is quite light color.
R + G + B =
166 + 184 + 216 = 566 (100%)
R 166 of 566 ~ 29.33%
G 184 of 566 ~ 32.51%
B 216 of 566 ~ 38.16%
#A6B8D8 color CMYK value is (23,15,0,15).
CMYK: (23,15,0,15) C23M15Y0K15 (23%,15%,0%,15%) (0.23/0.15/0.00/0.15)
A6 | B8 | D8 | |
---|---|---|---|
RGB | 166 | 184 | 216 |
HSL | 218° | 39.06% | 74.90% |
HSB/HSV | 218° | 23.15% | 84.71% |
CMYK | 23.15% | 14.81% | 0.00% |
15.29% |
HEX | A6 | B8 | D8 |
Decimal | 166 | 184 | 216 |
Binary | 10100110 | 10111000 | 11011000 |
Octal | 246 | 270 | 330 |
Examples of css and html codes for elements with #A6B8D8 color. Also use rgb(166,184,216) instead hex code.
.myTextColor { color: #A6B8D8; }
<p style="color:#A6B8D8">This sample text font color is #A6B8D8.</p>
This text font color is #A6B8D8.
.myBgColor { background-color: #A6B8D8; }
<div style="background-color:#A6B8D8">Inner text</div>
This div background color is #A6B8D8.
.myBorderColor { border: 1px solid #A6B8D8; }
<div style="border:3px solid #A6B8D8">Div</div>
This div border color is #A6B8D8.
.myOpacity80 { color: #A6B8D8; opacity: 0.8; }
<p style="color:#A6B8D8;opacity:0.8;">80%</p>
Text with #A6B8D8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6B8D8;}
<p style="text-shadow: 3px 3px 1px #A6B8D8">Text here.</p>
This text has shadow with #A6B8D8 color.
.textShadow {text-shadow: 3px 3px 1px #A6B8D8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6B8D8, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6B8D8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6B8D8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6B8D8, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6B8D8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6B8D8; -webkit-box-shadow: 1px 1px 3px 2px #A6B8D8; box-shadow: 1px 1px 3px 2px #A6B8D8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6B8D8; -webkit-box-shadow: 1px 1px 3px 2px #A6B8D8; box-shadow:1px 1px 3px 2px #A6B8D8;">
Div content here</div>
This text has color #A6B8D8 on black background.
This text has color #A6B8D8 on white background.
This text has black color on #A6B8D8 background.
This text has white color on #A6B8D8 background.