HEX: #B2A7DB
RGB: (178,167,219)
#B2A7DB contains red, green and blue colors in about the same proportion. Web safe color of #B2A7DB is #9999CC (or #99C).
#B2A7DB color RGB value is (178,167,219).
RGB: (178,167,219) (70%,65%,86%)
R 178 of 255 = 70%
G 167 of 255 = 65%
B 219 of 255 = 86%
R + G + B ~ 74%. #B2A7DB is quite light color.
R + G + B =
178 + 167 + 219 = 564 (100%)
R 178 of 564 ~ 31.56%
G 167 of 564 ~ 29.61%
B 219 of 564 ~ 38.83%
#B2A7DB color CMYK value is (19,24,0,14).
CMYK: (19,24,0,14) C19M24Y0K14 (19%,24%,0%,14%) (0.19/0.24/0.00/0.14)
B2 | A7 | DB | |
---|---|---|---|
RGB | 178 | 167 | 219 |
HSL | 253° | 41.94% | 75.69% |
HSB/HSV | 253° | 23.74% | 85.88% |
CMYK | 18.72% | 23.74% | 0.00% |
14.12% |
HEX | B2 | A7 | DB |
Decimal | 178 | 167 | 219 |
Binary | 10110010 | 10100111 | 11011011 |
Octal | 262 | 247 | 333 |
Examples of css and html codes for elements with #B2A7DB color. Also use rgb(178,167,219) instead hex code.
.myTextColor { color: #B2A7DB; }
<p style="color:#B2A7DB">This sample text font color is #B2A7DB.</p>
This text font color is #B2A7DB.
.myBgColor { background-color: #B2A7DB; }
<div style="background-color:#B2A7DB">Inner text</div>
This div background color is #B2A7DB.
.myBorderColor { border: 1px solid #B2A7DB; }
<div style="border:3px solid #B2A7DB">Div</div>
This div border color is #B2A7DB.
.myOpacity80 { color: #B2A7DB; opacity: 0.8; }
<p style="color:#B2A7DB;opacity:0.8;">80%</p>
Text with #B2A7DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2A7DB;}
<p style="text-shadow: 3px 3px 1px #B2A7DB">Text here.</p>
This text has shadow with #B2A7DB color.
.textShadow {text-shadow: 3px 3px 1px #B2A7DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2A7DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2A7DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2A7DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2A7DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2A7DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2A7DB; -webkit-box-shadow: 1px 1px 3px 2px #B2A7DB; box-shadow: 1px 1px 3px 2px #B2A7DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2A7DB; -webkit-box-shadow: 1px 1px 3px 2px #B2A7DB; box-shadow:1px 1px 3px 2px #B2A7DB;">
Div content here</div>
This text has color #B2A7DB on black background.
This text has color #B2A7DB on white background.
This text has black color on #B2A7DB background.
This text has white color on #B2A7DB background.