HEX: #B99BD6
RGB: (185,155,214)
#B99BD6 contains red, green and blue colors in about the same proportion. Web safe color of #B99BD6 is #CC99CC (or #C9C).
#B99BD6 color RGB value is (185,155,214).
RGB: (185,155,214) (73%,61%,84%)
R 185 of 255 = 73%
G 155 of 255 = 61%
B 214 of 255 = 84%
R + G + B ~ 73%. #B99BD6 is quite light color.
R + G + B =
185 + 155 + 214 = 554 (100%)
R 185 of 554 ~ 33.39%
G 155 of 554 ~ 27.98%
B 214 of 554 ~ 38.63%
#B99BD6 color CMYK value is (14,28,0,16).
CMYK: (14,28,0,16) C14M28Y0K16 (14%,28%,0%,16%) (0.14/0.28/0.00/0.16)
B9 | 9B | D6 | |
---|---|---|---|
RGB | 185 | 155 | 214 |
HSL | 271° | 41.84% | 72.35% |
HSB/HSV | 271° | 27.57% | 83.92% |
CMYK | 13.55% | 27.57% | 0.00% |
16.08% |
HEX | B9 | 9B | D6 |
Decimal | 185 | 155 | 214 |
Binary | 10111001 | 10011011 | 11010110 |
Octal | 271 | 233 | 326 |
Examples of css and html codes for elements with #B99BD6 color. Also use rgb(185,155,214) instead hex code.
.myTextColor { color: #B99BD6; }
<p style="color:#B99BD6">This sample text font color is #B99BD6.</p>
This text font color is #B99BD6.
.myBgColor { background-color: #B99BD6; }
<div style="background-color:#B99BD6">Inner text</div>
This div background color is #B99BD6.
.myBorderColor { border: 1px solid #B99BD6; }
<div style="border:3px solid #B99BD6">Div</div>
This div border color is #B99BD6.
.myOpacity80 { color: #B99BD6; opacity: 0.8; }
<p style="color:#B99BD6;opacity:0.8;">80%</p>
Text with #B99BD6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B99BD6;}
<p style="text-shadow: 3px 3px 1px #B99BD6">Text here.</p>
This text has shadow with #B99BD6 color.
.textShadow {text-shadow: 3px 3px 1px #B99BD6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B99BD6, 5px 5px 20px red">Text here.</p>
This text has shadow with #B99BD6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B99BD6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B99BD6, Direction=45, Strength=4)">Text</p>
This text has shadow with #B99BD6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B99BD6; -webkit-box-shadow: 1px 1px 3px 2px #B99BD6; box-shadow: 1px 1px 3px 2px #B99BD6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B99BD6; -webkit-box-shadow: 1px 1px 3px 2px #B99BD6; box-shadow:1px 1px 3px 2px #B99BD6;">
Div content here</div>
This text has color #B99BD6 on black background.
This text has color #B99BD6 on white background.
This text has black color on #B99BD6 background.
This text has white color on #B99BD6 background.