HEX: #BAB2DC
RGB: (186,178,220)
#BAB2DC contains red, green and blue colors in about the same proportion. Web safe color of #BAB2DC is #CC99CC (or #C9C).
#BAB2DC color RGB value is (186,178,220).
RGB: (186,178,220) (73%,70%,86%)
R 186 of 255 = 73%
G 178 of 255 = 70%
B 220 of 255 = 86%
R + G + B ~ 76%. #BAB2DC is quite light color.
R + G + B =
186 + 178 + 220 = 584 (100%)
R 186 of 584 ~ 31.85%
G 178 of 584 ~ 30.48%
B 220 of 584 ~ 37.67%
#BAB2DC color CMYK value is (15,19,0,14).
CMYK: (15,19,0,14) C15M19Y0K14 (15%,19%,0%,14%) (0.15/0.19/0.00/0.14)
BA | B2 | DC | |
---|---|---|---|
RGB | 186 | 178 | 220 |
HSL | 251° | 37.50% | 78.04% |
HSB/HSV | 251° | 19.09% | 86.27% |
CMYK | 15.45% | 19.09% | 0.00% |
13.73% |
HEX | BA | B2 | DC |
Decimal | 186 | 178 | 220 |
Binary | 10111010 | 10110010 | 11011100 |
Octal | 272 | 262 | 334 |
Examples of css and html codes for elements with #BAB2DC color. Also use rgb(186,178,220) instead hex code.
.myTextColor { color: #BAB2DC; }
<p style="color:#BAB2DC">This sample text font color is #BAB2DC.</p>
This text font color is #BAB2DC.
.myBgColor { background-color: #BAB2DC; }
<div style="background-color:#BAB2DC">Inner text</div>
This div background color is #BAB2DC.
.myBorderColor { border: 1px solid #BAB2DC; }
<div style="border:3px solid #BAB2DC">Div</div>
This div border color is #BAB2DC.
.myOpacity80 { color: #BAB2DC; opacity: 0.8; }
<p style="color:#BAB2DC;opacity:0.8;">80%</p>
Text with #BAB2DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BAB2DC;}
<p style="text-shadow: 3px 3px 1px #BAB2DC">Text here.</p>
This text has shadow with #BAB2DC color.
.textShadow {text-shadow: 3px 3px 1px #BAB2DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BAB2DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #BAB2DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BAB2DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BAB2DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #BAB2DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BAB2DC; -webkit-box-shadow: 1px 1px 3px 2px #BAB2DC; box-shadow: 1px 1px 3px 2px #BAB2DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BAB2DC; -webkit-box-shadow: 1px 1px 3px 2px #BAB2DC; box-shadow:1px 1px 3px 2px #BAB2DC;">
Div content here</div>
This text has color #BAB2DC on black background.
This text has color #BAB2DC on white background.
This text has black color on #BAB2DC background.
This text has white color on #BAB2DC background.