HEX: #B9A5EA
RGB: (185,165,234)
#B9A5EA contains mainly red and blue colors. Web safe color of #B9A5EA is #CC99FF (or #C9F).
#B9A5EA color RGB value is (185,165,234).
RGB: (185,165,234) (73%,65%,92%)
R 185 of 255 = 73%
G 165 of 255 = 65%
B 234 of 255 = 92%
R + G + B ~ 77%. #B9A5EA is quite light color.
R + G + B =
185 + 165 + 234 = 584 (100%)
R 185 of 584 ~ 31.68%
G 165 of 584 ~ 28.25%
B 234 of 584 ~ 40.07%
#B9A5EA color CMYK value is (21,29,0,8).
CMYK: (21,29,0,8) C21M29Y0K8 (21%,29%,0%,8%) (0.21/0.29/0.00/0.08)
B9 | A5 | EA | |
---|---|---|---|
RGB | 185 | 165 | 234 |
HSL | 257° | 62.16% | 78.24% |
HSB/HSV | 257° | 29.49% | 91.76% |
CMYK | 20.94% | 29.49% | 0.00% |
8.24% |
HEX | B9 | A5 | EA |
Decimal | 185 | 165 | 234 |
Binary | 10111001 | 10100101 | 11101010 |
Octal | 271 | 245 | 352 |
Examples of css and html codes for elements with #B9A5EA color. Also use rgb(185,165,234) instead hex code.
.myTextColor { color: #B9A5EA; }
<p style="color:#B9A5EA">This sample text font color is #B9A5EA.</p>
This text font color is #B9A5EA.
.myBgColor { background-color: #B9A5EA; }
<div style="background-color:#B9A5EA">Inner text</div>
This div background color is #B9A5EA.
.myBorderColor { border: 1px solid #B9A5EA; }
<div style="border:3px solid #B9A5EA">Div</div>
This div border color is #B9A5EA.
.myOpacity80 { color: #B9A5EA; opacity: 0.8; }
<p style="color:#B9A5EA;opacity:0.8;">80%</p>
Text with #B9A5EA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9A5EA;}
<p style="text-shadow: 3px 3px 1px #B9A5EA">Text here.</p>
This text has shadow with #B9A5EA color.
.textShadow {text-shadow: 3px 3px 1px #B9A5EA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9A5EA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9A5EA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9A5EA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9A5EA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9A5EA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9A5EA; -webkit-box-shadow: 1px 1px 3px 2px #B9A5EA; box-shadow: 1px 1px 3px 2px #B9A5EA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9A5EA; -webkit-box-shadow: 1px 1px 3px 2px #B9A5EA; box-shadow:1px 1px 3px 2px #B9A5EA;">
Div content here</div>
This text has color #B9A5EA on black background.
This text has color #B9A5EA on white background.
This text has black color on #B9A5EA background.
This text has white color on #B9A5EA background.