HEX: #BAA8E1
RGB: (186,168,225)
#BAA8E1 contains red, green and blue colors in about the same proportion. Web safe color of #BAA8E1 is #CC99CC (or #C9C).
#BAA8E1 color RGB value is (186,168,225).
RGB: (186,168,225) (73%,66%,88%)
R 186 of 255 = 73%
G 168 of 255 = 66%
B 225 of 255 = 88%
R + G + B ~ 76%. #BAA8E1 is quite light color.
R + G + B =
186 + 168 + 225 = 579 (100%)
R 186 of 579 ~ 32.12%
G 168 of 579 ~ 29.02%
B 225 of 579 ~ 38.86%
#BAA8E1 color CMYK value is (17,25,0,12).
CMYK: (17,25,0,12) C17M25Y0K12 (17%,25%,0%,12%) (0.17/0.25/0.00/0.12)
BA | A8 | E1 | |
---|---|---|---|
RGB | 186 | 168 | 225 |
HSL | 259° | 48.72% | 77.06% |
HSB/HSV | 259° | 25.33% | 88.24% |
CMYK | 17.33% | 25.33% | 0.00% |
11.76% |
HEX | BA | A8 | E1 |
Decimal | 186 | 168 | 225 |
Binary | 10111010 | 10101000 | 11100001 |
Octal | 272 | 250 | 341 |
Examples of css and html codes for elements with #BAA8E1 color. Also use rgb(186,168,225) instead hex code.
.myTextColor { color: #BAA8E1; }
<p style="color:#BAA8E1">This sample text font color is #BAA8E1.</p>
This text font color is #BAA8E1.
.myBgColor { background-color: #BAA8E1; }
<div style="background-color:#BAA8E1">Inner text</div>
This div background color is #BAA8E1.
.myBorderColor { border: 1px solid #BAA8E1; }
<div style="border:3px solid #BAA8E1">Div</div>
This div border color is #BAA8E1.
.myOpacity80 { color: #BAA8E1; opacity: 0.8; }
<p style="color:#BAA8E1;opacity:0.8;">80%</p>
Text with #BAA8E1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BAA8E1;}
<p style="text-shadow: 3px 3px 1px #BAA8E1">Text here.</p>
This text has shadow with #BAA8E1 color.
.textShadow {text-shadow: 3px 3px 1px #BAA8E1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BAA8E1, 5px 5px 20px red">Text here.</p>
This text has shadow with #BAA8E1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BAA8E1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BAA8E1, Direction=45, Strength=4)">Text</p>
This text has shadow with #BAA8E1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BAA8E1; -webkit-box-shadow: 1px 1px 3px 2px #BAA8E1; box-shadow: 1px 1px 3px 2px #BAA8E1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BAA8E1; -webkit-box-shadow: 1px 1px 3px 2px #BAA8E1; box-shadow:1px 1px 3px 2px #BAA8E1;">
Div content here</div>
This text has color #BAA8E1 on black background.
This text has color #BAA8E1 on white background.
This text has black color on #BAA8E1 background.
This text has white color on #BAA8E1 background.