HEX: #B897DC
RGB: (184,151,220)
#B897DC contains mainly red and blue colors. Web safe color of #B897DC is #CC99CC (or #C9C).
#B897DC color RGB value is (184,151,220).
RGB: (184,151,220) (72%,59%,86%)
R 184 of 255 = 72%
G 151 of 255 = 59%
B 220 of 255 = 86%
R + G + B ~ 72%. #B897DC is quite light color.
R + G + B =
184 + 151 + 220 = 555 (100%)
R 184 of 555 ~ 33.15%
G 151 of 555 ~ 27.21%
B 220 of 555 ~ 39.64%
#B897DC color CMYK value is (16,31,0,14).
CMYK: (16,31,0,14) C16M31Y0K14 (16%,31%,0%,14%) (0.16/0.31/0.00/0.14)
B8 | 97 | DC | |
---|---|---|---|
RGB | 184 | 151 | 220 |
HSL | 269° | 49.64% | 72.75% |
HSB/HSV | 269° | 31.36% | 86.27% |
CMYK | 16.36% | 31.36% | 0.00% |
13.73% |
HEX | B8 | 97 | DC |
Decimal | 184 | 151 | 220 |
Binary | 10111000 | 10010111 | 11011100 |
Octal | 270 | 227 | 334 |
Examples of css and html codes for elements with #B897DC color. Also use rgb(184,151,220) instead hex code.
.myTextColor { color: #B897DC; }
<p style="color:#B897DC">This sample text font color is #B897DC.</p>
This text font color is #B897DC.
.myBgColor { background-color: #B897DC; }
<div style="background-color:#B897DC">Inner text</div>
This div background color is #B897DC.
.myBorderColor { border: 1px solid #B897DC; }
<div style="border:3px solid #B897DC">Div</div>
This div border color is #B897DC.
.myOpacity80 { color: #B897DC; opacity: 0.8; }
<p style="color:#B897DC;opacity:0.8;">80%</p>
Text with #B897DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B897DC;}
<p style="text-shadow: 3px 3px 1px #B897DC">Text here.</p>
This text has shadow with #B897DC color.
.textShadow {text-shadow: 3px 3px 1px #B897DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B897DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B897DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B897DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B897DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B897DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B897DC; -webkit-box-shadow: 1px 1px 3px 2px #B897DC; box-shadow: 1px 1px 3px 2px #B897DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B897DC; -webkit-box-shadow: 1px 1px 3px 2px #B897DC; box-shadow:1px 1px 3px 2px #B897DC;">
Div content here</div>
This text has color #B897DC on black background.
This text has color #B897DC on white background.
This text has black color on #B897DC background.
This text has white color on #B897DC background.