HEX: #B4A4C9
RGB: (180,164,201)
#B4A4C9 contains red, green and blue colors in about the same proportion. Web safe color of #B4A4C9 is #CC99CC (or #C9C).
#B4A4C9 color RGB value is (180,164,201).
RGB: (180,164,201) (71%,64%,79%)
R 180 of 255 = 71%
G 164 of 255 = 64%
B 201 of 255 = 79%
R + G + B ~ 71%. #B4A4C9 is quite light color.
R + G + B =
180 + 164 + 201 = 545 (100%)
R 180 of 545 ~ 33.03%
G 164 of 545 ~ 30.09%
B 201 of 545 ~ 36.88%
#B4A4C9 color CMYK value is (10,18,0,21).
CMYK: (10,18,0,21) C10M18Y0K21 (10%,18%,0%,21%) (0.10/0.18/0.00/0.21)
B4 | A4 | C9 | |
---|---|---|---|
RGB | 180 | 164 | 201 |
HSL | 266° | 25.52% | 71.57% |
HSB/HSV | 266° | 18.41% | 78.82% |
CMYK | 10.45% | 18.41% | 0.00% |
21.18% |
HEX | B4 | A4 | C9 |
Decimal | 180 | 164 | 201 |
Binary | 10110100 | 10100100 | 11001001 |
Octal | 264 | 244 | 311 |
Examples of css and html codes for elements with #B4A4C9 color. Also use rgb(180,164,201) instead hex code.
.myTextColor { color: #B4A4C9; }
<p style="color:#B4A4C9">This sample text font color is #B4A4C9.</p>
This text font color is #B4A4C9.
.myBgColor { background-color: #B4A4C9; }
<div style="background-color:#B4A4C9">Inner text</div>
This div background color is #B4A4C9.
.myBorderColor { border: 1px solid #B4A4C9; }
<div style="border:3px solid #B4A4C9">Div</div>
This div border color is #B4A4C9.
.myOpacity80 { color: #B4A4C9; opacity: 0.8; }
<p style="color:#B4A4C9;opacity:0.8;">80%</p>
Text with #B4A4C9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A4C9;}
<p style="text-shadow: 3px 3px 1px #B4A4C9">Text here.</p>
This text has shadow with #B4A4C9 color.
.textShadow {text-shadow: 3px 3px 1px #B4A4C9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A4C9, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A4C9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A4C9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A4C9, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A4C9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A4C9; -webkit-box-shadow: 1px 1px 3px 2px #B4A4C9; box-shadow: 1px 1px 3px 2px #B4A4C9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A4C9; -webkit-box-shadow: 1px 1px 3px 2px #B4A4C9; box-shadow:1px 1px 3px 2px #B4A4C9;">
Div content here</div>
This text has color #B4A4C9 on black background.
This text has color #B4A4C9 on white background.
This text has black color on #B4A4C9 background.
This text has white color on #B4A4C9 background.