HEX: #B4A6BC
RGB: (180,166,188)
#B4A6BC contains red, green and blue colors in about the same proportion. Web safe color of #B4A6BC is #CC99CC (or #C9C).
#B4A6BC color RGB value is (180,166,188).
RGB: (180,166,188) (71%,65%,74%)
R 180 of 255 = 71%
G 166 of 255 = 65%
B 188 of 255 = 74%
R + G + B ~ 70%. #B4A6BC is quite light color.
R + G + B =
180 + 166 + 188 = 534 (100%)
R 180 of 534 ~ 33.71%
G 166 of 534 ~ 31.09%
B 188 of 534 ~ 35.21%
#B4A6BC color CMYK value is (4,12,0,26).
CMYK: (4,12,0,26) C4M12Y0K26 (4%,12%,0%,26%) (0.04/0.12/0.00/0.26)
B4 | A6 | BC | |
---|---|---|---|
RGB | 180 | 166 | 188 |
HSL | 278° | 14.10% | 69.41% |
HSB/HSV | 278° | 11.70% | 73.73% |
CMYK | 4.26% | 11.70% | 0.00% |
26.27% |
HEX | B4 | A6 | BC |
Decimal | 180 | 166 | 188 |
Binary | 10110100 | 10100110 | 10111100 |
Octal | 264 | 246 | 274 |
Examples of css and html codes for elements with #B4A6BC color. Also use rgb(180,166,188) instead hex code.
.myTextColor { color: #B4A6BC; }
<p style="color:#B4A6BC">This sample text font color is #B4A6BC.</p>
This text font color is #B4A6BC.
.myBgColor { background-color: #B4A6BC; }
<div style="background-color:#B4A6BC">Inner text</div>
This div background color is #B4A6BC.
.myBorderColor { border: 1px solid #B4A6BC; }
<div style="border:3px solid #B4A6BC">Div</div>
This div border color is #B4A6BC.
.myOpacity80 { color: #B4A6BC; opacity: 0.8; }
<p style="color:#B4A6BC;opacity:0.8;">80%</p>
Text with #B4A6BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A6BC;}
<p style="text-shadow: 3px 3px 1px #B4A6BC">Text here.</p>
This text has shadow with #B4A6BC color.
.textShadow {text-shadow: 3px 3px 1px #B4A6BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A6BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A6BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A6BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A6BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A6BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A6BC; -webkit-box-shadow: 1px 1px 3px 2px #B4A6BC; box-shadow: 1px 1px 3px 2px #B4A6BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A6BC; -webkit-box-shadow: 1px 1px 3px 2px #B4A6BC; box-shadow:1px 1px 3px 2px #B4A6BC;">
Div content here</div>
This text has color #B4A6BC on black background.
This text has color #B4A6BC on white background.
This text has black color on #B4A6BC background.
This text has white color on #B4A6BC background.