HEX: #B397CE
RGB: (179,151,206)
#B397CE contains red, green and blue colors in about the same proportion. Web safe color of #B397CE is #9999CC (or #99C).
#B397CE color RGB value is (179,151,206).
RGB: (179,151,206) (70%,59%,81%)
R 179 of 255 = 70%
G 151 of 255 = 59%
B 206 of 255 = 81%
R + G + B ~ 70%. #B397CE is quite light color.
R + G + B =
179 + 151 + 206 = 536 (100%)
R 179 of 536 ~ 33.4%
G 151 of 536 ~ 28.17%
B 206 of 536 ~ 38.43%
#B397CE color CMYK value is (13,27,0,19).
CMYK: (13,27,0,19) C13M27Y0K19 (13%,27%,0%,19%) (0.13/0.27/0.00/0.19)
B3 | 97 | CE | |
---|---|---|---|
RGB | 179 | 151 | 206 |
HSL | 271° | 35.95% | 70.00% |
HSB/HSV | 271° | 26.70% | 80.78% |
CMYK | 13.11% | 26.70% | 0.00% |
19.22% |
HEX | B3 | 97 | CE |
Decimal | 179 | 151 | 206 |
Binary | 10110011 | 10010111 | 11001110 |
Octal | 263 | 227 | 316 |
Examples of css and html codes for elements with #B397CE color. Also use rgb(179,151,206) instead hex code.
.myTextColor { color: #B397CE; }
<p style="color:#B397CE">This sample text font color is #B397CE.</p>
This text font color is #B397CE.
.myBgColor { background-color: #B397CE; }
<div style="background-color:#B397CE">Inner text</div>
This div background color is #B397CE.
.myBorderColor { border: 1px solid #B397CE; }
<div style="border:3px solid #B397CE">Div</div>
This div border color is #B397CE.
.myOpacity80 { color: #B397CE; opacity: 0.8; }
<p style="color:#B397CE;opacity:0.8;">80%</p>
Text with #B397CE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B397CE;}
<p style="text-shadow: 3px 3px 1px #B397CE">Text here.</p>
This text has shadow with #B397CE color.
.textShadow {text-shadow: 3px 3px 1px #B397CE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B397CE, 5px 5px 20px red">Text here.</p>
This text has shadow with #B397CE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B397CE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B397CE, Direction=45, Strength=4)">Text</p>
This text has shadow with #B397CE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B397CE; -webkit-box-shadow: 1px 1px 3px 2px #B397CE; box-shadow: 1px 1px 3px 2px #B397CE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B397CE; -webkit-box-shadow: 1px 1px 3px 2px #B397CE; box-shadow:1px 1px 3px 2px #B397CE;">
Div content here</div>
This text has color #B397CE on black background.
This text has color #B397CE on white background.
This text has black color on #B397CE background.
This text has white color on #B397CE background.