HEX: #B396CD
RGB: (179,150,205)
#B396CD contains red, green and blue colors in about the same proportion. Web safe color of #B396CD is #9999CC (or #99C).
#B396CD color RGB value is (179,150,205).
RGB: (179,150,205) (70%,59%,80%)
R 179 of 255 = 70%
G 150 of 255 = 59%
B 205 of 255 = 80%
R + G + B ~ 70%. #B396CD is quite light color.
R + G + B =
179 + 150 + 205 = 534 (100%)
R 179 of 534 ~ 33.52%
G 150 of 534 ~ 28.09%
B 205 of 534 ~ 38.39%
#B396CD color CMYK value is (13,27,0,20).
CMYK: (13,27,0,20) C13M27Y0K20 (13%,27%,0%,20%) (0.13/0.27/0.00/0.20)
B3 | 96 | CD | |
---|---|---|---|
RGB | 179 | 150 | 205 |
HSL | 272° | 35.48% | 69.61% |
HSB/HSV | 272° | 26.83% | 80.39% |
CMYK | 12.68% | 26.83% | 0.00% |
19.61% |
HEX | B3 | 96 | CD |
Decimal | 179 | 150 | 205 |
Binary | 10110011 | 10010110 | 11001101 |
Octal | 263 | 226 | 315 |
Examples of css and html codes for elements with #B396CD color. Also use rgb(179,150,205) instead hex code.
.myTextColor { color: #B396CD; }
<p style="color:#B396CD">This sample text font color is #B396CD.</p>
This text font color is #B396CD.
.myBgColor { background-color: #B396CD; }
<div style="background-color:#B396CD">Inner text</div>
This div background color is #B396CD.
.myBorderColor { border: 1px solid #B396CD; }
<div style="border:3px solid #B396CD">Div</div>
This div border color is #B396CD.
.myOpacity80 { color: #B396CD; opacity: 0.8; }
<p style="color:#B396CD;opacity:0.8;">80%</p>
Text with #B396CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B396CD;}
<p style="text-shadow: 3px 3px 1px #B396CD">Text here.</p>
This text has shadow with #B396CD color.
.textShadow {text-shadow: 3px 3px 1px #B396CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B396CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B396CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B396CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B396CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B396CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B396CD; -webkit-box-shadow: 1px 1px 3px 2px #B396CD; box-shadow: 1px 1px 3px 2px #B396CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B396CD; -webkit-box-shadow: 1px 1px 3px 2px #B396CD; box-shadow:1px 1px 3px 2px #B396CD;">
Div content here</div>
This text has color #B396CD on black background.
This text has color #B396CD on white background.
This text has black color on #B396CD background.
This text has white color on #B396CD background.