HEX: #BAB5DA
RGB: (186,181,218)
#BAB5DA contains red, green and blue colors in about the same proportion. Web safe color of #BAB5DA is #CCCCCC (or #CCC).
#BAB5DA color RGB value is (186,181,218).
RGB: (186,181,218) (73%,71%,85%)
R 186 of 255 = 73%
G 181 of 255 = 71%
B 218 of 255 = 85%
R + G + B ~ 76%. #BAB5DA is quite light color.
R + G + B =
186 + 181 + 218 = 585 (100%)
R 186 of 585 ~ 31.79%
G 181 of 585 ~ 30.94%
B 218 of 585 ~ 37.26%
#BAB5DA color CMYK value is (15,17,0,15).
CMYK: (15,17,0,15) C15M17Y0K15 (15%,17%,0%,15%) (0.15/0.17/0.00/0.15)
BA | B5 | DA | |
---|---|---|---|
RGB | 186 | 181 | 218 |
HSL | 248° | 33.33% | 78.24% |
HSB/HSV | 248° | 16.97% | 85.49% |
CMYK | 14.68% | 16.97% | 0.00% |
14.51% |
HEX | BA | B5 | DA |
Decimal | 186 | 181 | 218 |
Binary | 10111010 | 10110101 | 11011010 |
Octal | 272 | 265 | 332 |
Examples of css and html codes for elements with #BAB5DA color. Also use rgb(186,181,218) instead hex code.
.myTextColor { color: #BAB5DA; }
<p style="color:#BAB5DA">This sample text font color is #BAB5DA.</p>
This text font color is #BAB5DA.
.myBgColor { background-color: #BAB5DA; }
<div style="background-color:#BAB5DA">Inner text</div>
This div background color is #BAB5DA.
.myBorderColor { border: 1px solid #BAB5DA; }
<div style="border:3px solid #BAB5DA">Div</div>
This div border color is #BAB5DA.
.myOpacity80 { color: #BAB5DA; opacity: 0.8; }
<p style="color:#BAB5DA;opacity:0.8;">80%</p>
Text with #BAB5DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BAB5DA;}
<p style="text-shadow: 3px 3px 1px #BAB5DA">Text here.</p>
This text has shadow with #BAB5DA color.
.textShadow {text-shadow: 3px 3px 1px #BAB5DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BAB5DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #BAB5DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BAB5DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BAB5DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #BAB5DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BAB5DA; -webkit-box-shadow: 1px 1px 3px 2px #BAB5DA; box-shadow: 1px 1px 3px 2px #BAB5DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BAB5DA; -webkit-box-shadow: 1px 1px 3px 2px #BAB5DA; box-shadow:1px 1px 3px 2px #BAB5DA;">
Div content here</div>
This text has color #BAB5DA on black background.
This text has color #BAB5DA on white background.
This text has black color on #BAB5DA background.
This text has white color on #BAB5DA background.