HEX: #B397AB
RGB: (179,151,171)
#B397AB contains red, green and blue colors in about the same proportion. Web safe color of #B397AB is #999999 (or #999).
#B397AB color RGB value is (179,151,171).
RGB: (179,151,171) (70%,59%,67%)
R 179 of 255 = 70%
G 151 of 255 = 59%
B 171 of 255 = 67%
R + G + B ~ 65%. #B397AB is quite light color.
R + G + B =
179 + 151 + 171 = 501 (100%)
R 179 of 501 ~ 35.73%
G 151 of 501 ~ 30.14%
B 171 of 501 ~ 34.13%
#B397AB color CMYK value is (0,16,4,30).
CMYK: (0,16,4,30) C0M16Y4K30 (0%,16%,4%,30%) (0.00/0.16/0.04/0.30)
B3 | 97 | AB | |
---|---|---|---|
RGB | 179 | 151 | 171 |
HSL | 317° | 15.56% | 64.71% |
HSB/HSV | 317° | 15.64% | 70.20% |
CMYK | 0.00% | 15.64% | 4.47% |
29.80% |
HEX | B3 | 97 | AB |
Decimal | 179 | 151 | 171 |
Binary | 10110011 | 10010111 | 10101011 |
Octal | 263 | 227 | 253 |
Examples of css and html codes for elements with #B397AB color. Also use rgb(179,151,171) instead hex code.
.myTextColor { color: #B397AB; }
<p style="color:#B397AB">This sample text font color is #B397AB.</p>
This text font color is #B397AB.
.myBgColor { background-color: #B397AB; }
<div style="background-color:#B397AB">Inner text</div>
This div background color is #B397AB.
.myBorderColor { border: 1px solid #B397AB; }
<div style="border:3px solid #B397AB">Div</div>
This div border color is #B397AB.
.myOpacity80 { color: #B397AB; opacity: 0.8; }
<p style="color:#B397AB;opacity:0.8;">80%</p>
Text with #B397AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B397AB;}
<p style="text-shadow: 3px 3px 1px #B397AB">Text here.</p>
This text has shadow with #B397AB color.
.textShadow {text-shadow: 3px 3px 1px #B397AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B397AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B397AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B397AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B397AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B397AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B397AB; -webkit-box-shadow: 1px 1px 3px 2px #B397AB; box-shadow: 1px 1px 3px 2px #B397AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B397AB; -webkit-box-shadow: 1px 1px 3px 2px #B397AB; box-shadow:1px 1px 3px 2px #B397AB;">
Div content here</div>
This text has color #B397AB on black background.
This text has color #B397AB on white background.
This text has black color on #B397AB background.
This text has white color on #B397AB background.