HEX: #B397BD
RGB: (179,151,189)
#B397BD contains red, green and blue colors in about the same proportion. Web safe color of #B397BD is #9999CC (or #99C).
#B397BD color RGB value is (179,151,189).
RGB: (179,151,189) (70%,59%,74%)
R 179 of 255 = 70%
G 151 of 255 = 59%
B 189 of 255 = 74%
R + G + B ~ 68%. #B397BD is quite light color.
R + G + B =
179 + 151 + 189 = 519 (100%)
R 179 of 519 ~ 34.49%
G 151 of 519 ~ 29.09%
B 189 of 519 ~ 36.42%
#B397BD color CMYK value is (5,20,0,26).
CMYK: (5,20,0,26) C5M20Y0K26 (5%,20%,0%,26%) (0.05/0.20/0.00/0.26)
B3 | 97 | BD | |
---|---|---|---|
RGB | 179 | 151 | 189 |
HSL | 284° | 22.35% | 66.67% |
HSB/HSV | 284° | 20.11% | 74.12% |
CMYK | 5.29% | 20.11% | 0.00% |
25.88% |
HEX | B3 | 97 | BD |
Decimal | 179 | 151 | 189 |
Binary | 10110011 | 10010111 | 10111101 |
Octal | 263 | 227 | 275 |
Examples of css and html codes for elements with #B397BD color. Also use rgb(179,151,189) instead hex code.
.myTextColor { color: #B397BD; }
<p style="color:#B397BD">This sample text font color is #B397BD.</p>
This text font color is #B397BD.
.myBgColor { background-color: #B397BD; }
<div style="background-color:#B397BD">Inner text</div>
This div background color is #B397BD.
.myBorderColor { border: 1px solid #B397BD; }
<div style="border:3px solid #B397BD">Div</div>
This div border color is #B397BD.
.myOpacity80 { color: #B397BD; opacity: 0.8; }
<p style="color:#B397BD;opacity:0.8;">80%</p>
Text with #B397BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B397BD;}
<p style="text-shadow: 3px 3px 1px #B397BD">Text here.</p>
This text has shadow with #B397BD color.
.textShadow {text-shadow: 3px 3px 1px #B397BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B397BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B397BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B397BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B397BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B397BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B397BD; -webkit-box-shadow: 1px 1px 3px 2px #B397BD; box-shadow: 1px 1px 3px 2px #B397BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B397BD; -webkit-box-shadow: 1px 1px 3px 2px #B397BD; box-shadow:1px 1px 3px 2px #B397BD;">
Div content here</div>
This text has color #B397BD on black background.
This text has color #B397BD on white background.
This text has black color on #B397BD background.
This text has white color on #B397BD background.