HEX: #B9A5DA
RGB: (185,165,218)
#B9A5DA contains red, green and blue colors in about the same proportion. Web safe color of #B9A5DA is #CC99CC (or #C9C).
#B9A5DA color RGB value is (185,165,218).
RGB: (185,165,218) (73%,65%,85%)
R 185 of 255 = 73%
G 165 of 255 = 65%
B 218 of 255 = 85%
R + G + B ~ 74%. #B9A5DA is quite light color.
R + G + B =
185 + 165 + 218 = 568 (100%)
R 185 of 568 ~ 32.57%
G 165 of 568 ~ 29.05%
B 218 of 568 ~ 38.38%
#B9A5DA color CMYK value is (15,24,0,15).
CMYK: (15,24,0,15) C15M24Y0K15 (15%,24%,0%,15%) (0.15/0.24/0.00/0.15)
B9 | A5 | DA | |
---|---|---|---|
RGB | 185 | 165 | 218 |
HSL | 263° | 41.73% | 75.10% |
HSB/HSV | 263° | 24.31% | 85.49% |
CMYK | 15.14% | 24.31% | 0.00% |
14.51% |
HEX | B9 | A5 | DA |
Decimal | 185 | 165 | 218 |
Binary | 10111001 | 10100101 | 11011010 |
Octal | 271 | 245 | 332 |
Examples of css and html codes for elements with #B9A5DA color. Also use rgb(185,165,218) instead hex code.
.myTextColor { color: #B9A5DA; }
<p style="color:#B9A5DA">This sample text font color is #B9A5DA.</p>
This text font color is #B9A5DA.
.myBgColor { background-color: #B9A5DA; }
<div style="background-color:#B9A5DA">Inner text</div>
This div background color is #B9A5DA.
.myBorderColor { border: 1px solid #B9A5DA; }
<div style="border:3px solid #B9A5DA">Div</div>
This div border color is #B9A5DA.
.myOpacity80 { color: #B9A5DA; opacity: 0.8; }
<p style="color:#B9A5DA;opacity:0.8;">80%</p>
Text with #B9A5DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9A5DA;}
<p style="text-shadow: 3px 3px 1px #B9A5DA">Text here.</p>
This text has shadow with #B9A5DA color.
.textShadow {text-shadow: 3px 3px 1px #B9A5DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9A5DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9A5DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9A5DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9A5DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9A5DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9A5DA; -webkit-box-shadow: 1px 1px 3px 2px #B9A5DA; box-shadow: 1px 1px 3px 2px #B9A5DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9A5DA; -webkit-box-shadow: 1px 1px 3px 2px #B9A5DA; box-shadow:1px 1px 3px 2px #B9A5DA;">
Div content here</div>
This text has color #B9A5DA on black background.
This text has color #B9A5DA on white background.
This text has black color on #B9A5DA background.
This text has white color on #B9A5DA background.