HEX: #BAA6DA
RGB: (186,166,218)
#BAA6DA contains red, green and blue colors in about the same proportion. Web safe color of #BAA6DA is #CC99CC (or #C9C).
#BAA6DA color RGB value is (186,166,218).
RGB: (186,166,218) (73%,65%,85%)
R 186 of 255 = 73%
G 166 of 255 = 65%
B 218 of 255 = 85%
R + G + B ~ 74%. #BAA6DA is quite light color.
R + G + B =
186 + 166 + 218 = 570 (100%)
R 186 of 570 ~ 32.63%
G 166 of 570 ~ 29.12%
B 218 of 570 ~ 38.25%
#BAA6DA color CMYK value is (15,24,0,15).
CMYK: (15,24,0,15) C15M24Y0K15 (15%,24%,0%,15%) (0.15/0.24/0.00/0.15)
BA | A6 | DA | |
---|---|---|---|
RGB | 186 | 166 | 218 |
HSL | 263° | 41.27% | 75.29% |
HSB/HSV | 263° | 23.85% | 85.49% |
CMYK | 14.68% | 23.85% | 0.00% |
14.51% |
HEX | BA | A6 | DA |
Decimal | 186 | 166 | 218 |
Binary | 10111010 | 10100110 | 11011010 |
Octal | 272 | 246 | 332 |
Examples of css and html codes for elements with #BAA6DA color. Also use rgb(186,166,218) instead hex code.
.myTextColor { color: #BAA6DA; }
<p style="color:#BAA6DA">This sample text font color is #BAA6DA.</p>
This text font color is #BAA6DA.
.myBgColor { background-color: #BAA6DA; }
<div style="background-color:#BAA6DA">Inner text</div>
This div background color is #BAA6DA.
.myBorderColor { border: 1px solid #BAA6DA; }
<div style="border:3px solid #BAA6DA">Div</div>
This div border color is #BAA6DA.
.myOpacity80 { color: #BAA6DA; opacity: 0.8; }
<p style="color:#BAA6DA;opacity:0.8;">80%</p>
Text with #BAA6DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BAA6DA;}
<p style="text-shadow: 3px 3px 1px #BAA6DA">Text here.</p>
This text has shadow with #BAA6DA color.
.textShadow {text-shadow: 3px 3px 1px #BAA6DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BAA6DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #BAA6DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BAA6DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BAA6DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #BAA6DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BAA6DA; -webkit-box-shadow: 1px 1px 3px 2px #BAA6DA; box-shadow: 1px 1px 3px 2px #BAA6DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BAA6DA; -webkit-box-shadow: 1px 1px 3px 2px #BAA6DA; box-shadow:1px 1px 3px 2px #BAA6DA;">
Div content here</div>
This text has color #BAA6DA on black background.
This text has color #BAA6DA on white background.
This text has black color on #BAA6DA background.
This text has white color on #BAA6DA background.