HEX: #B996D2
RGB: (185,150,210)
#B996D2 contains mainly red and blue colors. Web safe color of #B996D2 is #CC99CC (or #C9C).
#B996D2 color RGB value is (185,150,210).
RGB: (185,150,210) (73%,59%,82%)
R 185 of 255 = 73%
G 150 of 255 = 59%
B 210 of 255 = 82%
R + G + B ~ 71%. #B996D2 is quite light color.
R + G + B =
185 + 150 + 210 = 545 (100%)
R 185 of 545 ~ 33.94%
G 150 of 545 ~ 27.52%
B 210 of 545 ~ 38.53%
#B996D2 color CMYK value is (12,29,0,18).
CMYK: (12,29,0,18) C12M29Y0K18 (12%,29%,0%,18%) (0.12/0.29/0.00/0.18)
B9 | 96 | D2 | |
---|---|---|---|
RGB | 185 | 150 | 210 |
HSL | 275° | 40.00% | 70.59% |
HSB/HSV | 275° | 28.57% | 82.35% |
CMYK | 11.90% | 28.57% | 0.00% |
17.65% |
HEX | B9 | 96 | D2 |
Decimal | 185 | 150 | 210 |
Binary | 10111001 | 10010110 | 11010010 |
Octal | 271 | 226 | 322 |
Examples of css and html codes for elements with #B996D2 color. Also use rgb(185,150,210) instead hex code.
.myTextColor { color: #B996D2; }
<p style="color:#B996D2">This sample text font color is #B996D2.</p>
This text font color is #B996D2.
.myBgColor { background-color: #B996D2; }
<div style="background-color:#B996D2">Inner text</div>
This div background color is #B996D2.
.myBorderColor { border: 1px solid #B996D2; }
<div style="border:3px solid #B996D2">Div</div>
This div border color is #B996D2.
.myOpacity80 { color: #B996D2; opacity: 0.8; }
<p style="color:#B996D2;opacity:0.8;">80%</p>
Text with #B996D2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B996D2;}
<p style="text-shadow: 3px 3px 1px #B996D2">Text here.</p>
This text has shadow with #B996D2 color.
.textShadow {text-shadow: 3px 3px 1px #B996D2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B996D2, 5px 5px 20px red">Text here.</p>
This text has shadow with #B996D2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B996D2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B996D2, Direction=45, Strength=4)">Text</p>
This text has shadow with #B996D2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B996D2; -webkit-box-shadow: 1px 1px 3px 2px #B996D2; box-shadow: 1px 1px 3px 2px #B996D2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B996D2; -webkit-box-shadow: 1px 1px 3px 2px #B996D2; box-shadow:1px 1px 3px 2px #B996D2;">
Div content here</div>
This text has color #B996D2 on black background.
This text has color #B996D2 on white background.
This text has black color on #B996D2 background.
This text has white color on #B996D2 background.