HEX: #B4A6CB
RGB: (180,166,203)
#B4A6CB contains red, green and blue colors in about the same proportion. Web safe color of #B4A6CB is #CC99CC (or #C9C).
#B4A6CB color RGB value is (180,166,203).
RGB: (180,166,203) (71%,65%,80%)
R 180 of 255 = 71%
G 166 of 255 = 65%
B 203 of 255 = 80%
R + G + B ~ 72%. #B4A6CB is quite light color.
R + G + B =
180 + 166 + 203 = 549 (100%)
R 180 of 549 ~ 32.79%
G 166 of 549 ~ 30.24%
B 203 of 549 ~ 36.98%
#B4A6CB color CMYK value is (11,18,0,20).
CMYK: (11,18,0,20) C11M18Y0K20 (11%,18%,0%,20%) (0.11/0.18/0.00/0.20)
B4 | A6 | CB | |
---|---|---|---|
RGB | 180 | 166 | 203 |
HSL | 263° | 26.24% | 72.35% |
HSB/HSV | 263° | 18.23% | 79.61% |
CMYK | 11.33% | 18.23% | 0.00% |
20.39% |
HEX | B4 | A6 | CB |
Decimal | 180 | 166 | 203 |
Binary | 10110100 | 10100110 | 11001011 |
Octal | 264 | 246 | 313 |
Examples of css and html codes for elements with #B4A6CB color. Also use rgb(180,166,203) instead hex code.
.myTextColor { color: #B4A6CB; }
<p style="color:#B4A6CB">This sample text font color is #B4A6CB.</p>
This text font color is #B4A6CB.
.myBgColor { background-color: #B4A6CB; }
<div style="background-color:#B4A6CB">Inner text</div>
This div background color is #B4A6CB.
.myBorderColor { border: 1px solid #B4A6CB; }
<div style="border:3px solid #B4A6CB">Div</div>
This div border color is #B4A6CB.
.myOpacity80 { color: #B4A6CB; opacity: 0.8; }
<p style="color:#B4A6CB;opacity:0.8;">80%</p>
Text with #B4A6CB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A6CB;}
<p style="text-shadow: 3px 3px 1px #B4A6CB">Text here.</p>
This text has shadow with #B4A6CB color.
.textShadow {text-shadow: 3px 3px 1px #B4A6CB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A6CB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A6CB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A6CB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A6CB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A6CB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A6CB; -webkit-box-shadow: 1px 1px 3px 2px #B4A6CB; box-shadow: 1px 1px 3px 2px #B4A6CB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A6CB; -webkit-box-shadow: 1px 1px 3px 2px #B4A6CB; box-shadow:1px 1px 3px 2px #B4A6CB;">
Div content here</div>
This text has color #B4A6CB on black background.
This text has color #B4A6CB on white background.
This text has black color on #B4A6CB background.
This text has white color on #B4A6CB background.