HEX: #B2A4D6
RGB: (178,164,214)
#B2A4D6 contains red, green and blue colors in about the same proportion. Web safe color of #B2A4D6 is #9999CC (or #99C).
#B2A4D6 color RGB value is (178,164,214).
RGB: (178,164,214) (70%,64%,84%)
R 178 of 255 = 70%
G 164 of 255 = 64%
B 214 of 255 = 84%
R + G + B ~ 73%. #B2A4D6 is quite light color.
R + G + B =
178 + 164 + 214 = 556 (100%)
R 178 of 556 ~ 32.01%
G 164 of 556 ~ 29.5%
B 214 of 556 ~ 38.49%
#B2A4D6 color CMYK value is (17,23,0,16).
CMYK: (17,23,0,16) C17M23Y0K16 (17%,23%,0%,16%) (0.17/0.23/0.00/0.16)
B2 | A4 | D6 | |
---|---|---|---|
RGB | 178 | 164 | 214 |
HSL | 257° | 37.88% | 74.12% |
HSB/HSV | 257° | 23.36% | 83.92% |
CMYK | 16.82% | 23.36% | 0.00% |
16.08% |
HEX | B2 | A4 | D6 |
Decimal | 178 | 164 | 214 |
Binary | 10110010 | 10100100 | 11010110 |
Octal | 262 | 244 | 326 |
Examples of css and html codes for elements with #B2A4D6 color. Also use rgb(178,164,214) instead hex code.
.myTextColor { color: #B2A4D6; }
<p style="color:#B2A4D6">This sample text font color is #B2A4D6.</p>
This text font color is #B2A4D6.
.myBgColor { background-color: #B2A4D6; }
<div style="background-color:#B2A4D6">Inner text</div>
This div background color is #B2A4D6.
.myBorderColor { border: 1px solid #B2A4D6; }
<div style="border:3px solid #B2A4D6">Div</div>
This div border color is #B2A4D6.
.myOpacity80 { color: #B2A4D6; opacity: 0.8; }
<p style="color:#B2A4D6;opacity:0.8;">80%</p>
Text with #B2A4D6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2A4D6;}
<p style="text-shadow: 3px 3px 1px #B2A4D6">Text here.</p>
This text has shadow with #B2A4D6 color.
.textShadow {text-shadow: 3px 3px 1px #B2A4D6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2A4D6, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2A4D6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2A4D6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2A4D6, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2A4D6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2A4D6; -webkit-box-shadow: 1px 1px 3px 2px #B2A4D6; box-shadow: 1px 1px 3px 2px #B2A4D6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2A4D6; -webkit-box-shadow: 1px 1px 3px 2px #B2A4D6; box-shadow:1px 1px 3px 2px #B2A4D6;">
Div content here</div>
This text has color #B2A4D6 on black background.
This text has color #B2A4D6 on white background.
This text has black color on #B2A4D6 background.
This text has white color on #B2A4D6 background.