HEX: #BAB2ED
RGB: (186,178,237)
#BAB2ED contains red, green and blue colors in about the same proportion. Web safe color of #BAB2ED is #CC99FF (or #C9F).
#BAB2ED color RGB value is (186,178,237).
RGB: (186,178,237) (73%,70%,93%)
R 186 of 255 = 73%
G 178 of 255 = 70%
B 237 of 255 = 93%
R + G + B ~ 79%. #BAB2ED is quite light color.
R + G + B =
186 + 178 + 237 = 601 (100%)
R 186 of 601 ~ 30.95%
G 178 of 601 ~ 29.62%
B 237 of 601 ~ 39.43%
#BAB2ED color CMYK value is (22,25,0,7).
CMYK: (22,25,0,7) C22M25Y0K7 (22%,25%,0%,7%) (0.22/0.25/0.00/0.07)
BA | B2 | ED | |
---|---|---|---|
RGB | 186 | 178 | 237 |
HSL | 248° | 62.11% | 81.37% |
HSB/HSV | 248° | 24.89% | 92.94% |
CMYK | 21.52% | 24.89% | 0.00% |
7.06% |
HEX | BA | B2 | ED |
Decimal | 186 | 178 | 237 |
Binary | 10111010 | 10110010 | 11101101 |
Octal | 272 | 262 | 355 |
Examples of css and html codes for elements with #BAB2ED color. Also use rgb(186,178,237) instead hex code.
.myTextColor { color: #BAB2ED; }
<p style="color:#BAB2ED">This sample text font color is #BAB2ED.</p>
This text font color is #BAB2ED.
.myBgColor { background-color: #BAB2ED; }
<div style="background-color:#BAB2ED">Inner text</div>
This div background color is #BAB2ED.
.myBorderColor { border: 1px solid #BAB2ED; }
<div style="border:3px solid #BAB2ED">Div</div>
This div border color is #BAB2ED.
.myOpacity80 { color: #BAB2ED; opacity: 0.8; }
<p style="color:#BAB2ED;opacity:0.8;">80%</p>
Text with #BAB2ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BAB2ED;}
<p style="text-shadow: 3px 3px 1px #BAB2ED">Text here.</p>
This text has shadow with #BAB2ED color.
.textShadow {text-shadow: 3px 3px 1px #BAB2ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BAB2ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #BAB2ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BAB2ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BAB2ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #BAB2ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BAB2ED; -webkit-box-shadow: 1px 1px 3px 2px #BAB2ED; box-shadow: 1px 1px 3px 2px #BAB2ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BAB2ED; -webkit-box-shadow: 1px 1px 3px 2px #BAB2ED; box-shadow:1px 1px 3px 2px #BAB2ED;">
Div content here</div>
This text has color #BAB2ED on black background.
This text has color #BAB2ED on white background.
This text has black color on #BAB2ED background.
This text has white color on #BAB2ED background.