HEX: #B99DDD
RGB: (185,157,221)
#B99DDD contains mainly red and blue colors. Web safe color of #B99DDD is #CC99CC (or #C9C).
#B99DDD color RGB value is (185,157,221).
RGB: (185,157,221) (73%,62%,87%)
R 185 of 255 = 73%
G 157 of 255 = 62%
B 221 of 255 = 87%
R + G + B ~ 74%. #B99DDD is quite light color.
R + G + B =
185 + 157 + 221 = 563 (100%)
R 185 of 563 ~ 32.86%
G 157 of 563 ~ 27.89%
B 221 of 563 ~ 39.25%
#B99DDD color CMYK value is (16,29,0,13).
CMYK: (16,29,0,13) C16M29Y0K13 (16%,29%,0%,13%) (0.16/0.29/0.00/0.13)
B9 | 9D | DD | |
---|---|---|---|
RGB | 185 | 157 | 221 |
HSL | 266° | 48.48% | 74.12% |
HSB/HSV | 266° | 28.96% | 86.67% |
CMYK | 16.29% | 28.96% | 0.00% |
13.33% |
HEX | B9 | 9D | DD |
Decimal | 185 | 157 | 221 |
Binary | 10111001 | 10011101 | 11011101 |
Octal | 271 | 235 | 335 |
Examples of css and html codes for elements with #B99DDD color. Also use rgb(185,157,221) instead hex code.
.myTextColor { color: #B99DDD; }
<p style="color:#B99DDD">This sample text font color is #B99DDD.</p>
This text font color is #B99DDD.
.myBgColor { background-color: #B99DDD; }
<div style="background-color:#B99DDD">Inner text</div>
This div background color is #B99DDD.
.myBorderColor { border: 1px solid #B99DDD; }
<div style="border:3px solid #B99DDD">Div</div>
This div border color is #B99DDD.
.myOpacity80 { color: #B99DDD; opacity: 0.8; }
<p style="color:#B99DDD;opacity:0.8;">80%</p>
Text with #B99DDD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B99DDD;}
<p style="text-shadow: 3px 3px 1px #B99DDD">Text here.</p>
This text has shadow with #B99DDD color.
.textShadow {text-shadow: 3px 3px 1px #B99DDD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B99DDD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B99DDD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B99DDD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B99DDD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B99DDD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B99DDD; -webkit-box-shadow: 1px 1px 3px 2px #B99DDD; box-shadow: 1px 1px 3px 2px #B99DDD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B99DDD; -webkit-box-shadow: 1px 1px 3px 2px #B99DDD; box-shadow:1px 1px 3px 2px #B99DDD;">
Div content here</div>
This text has color #B99DDD on black background.
This text has color #B99DDD on white background.
This text has black color on #B99DDD background.
This text has white color on #B99DDD background.