HEX: #B4A0CD
RGB: (180,160,205)
#B4A0CD contains red, green and blue colors in about the same proportion. Web safe color of #B4A0CD is #CC99CC (or #C9C).
#B4A0CD color RGB value is (180,160,205).
RGB: (180,160,205) (71%,63%,80%)
R 180 of 255 = 71%
G 160 of 255 = 63%
B 205 of 255 = 80%
R + G + B ~ 71%. #B4A0CD is quite light color.
R + G + B =
180 + 160 + 205 = 545 (100%)
R 180 of 545 ~ 33.03%
G 160 of 545 ~ 29.36%
B 205 of 545 ~ 37.61%
#B4A0CD color CMYK value is (12,22,0,20).
CMYK: (12,22,0,20) C12M22Y0K20 (12%,22%,0%,20%) (0.12/0.22/0.00/0.20)
B4 | A0 | CD | |
---|---|---|---|
RGB | 180 | 160 | 205 |
HSL | 267° | 31.03% | 71.57% |
HSB/HSV | 267° | 21.95% | 80.39% |
CMYK | 12.20% | 21.95% | 0.00% |
19.61% |
HEX | B4 | A0 | CD |
Decimal | 180 | 160 | 205 |
Binary | 10110100 | 10100000 | 11001101 |
Octal | 264 | 240 | 315 |
Examples of css and html codes for elements with #B4A0CD color. Also use rgb(180,160,205) instead hex code.
.myTextColor { color: #B4A0CD; }
<p style="color:#B4A0CD">This sample text font color is #B4A0CD.</p>
This text font color is #B4A0CD.
.myBgColor { background-color: #B4A0CD; }
<div style="background-color:#B4A0CD">Inner text</div>
This div background color is #B4A0CD.
.myBorderColor { border: 1px solid #B4A0CD; }
<div style="border:3px solid #B4A0CD">Div</div>
This div border color is #B4A0CD.
.myOpacity80 { color: #B4A0CD; opacity: 0.8; }
<p style="color:#B4A0CD;opacity:0.8;">80%</p>
Text with #B4A0CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A0CD;}
<p style="text-shadow: 3px 3px 1px #B4A0CD">Text here.</p>
This text has shadow with #B4A0CD color.
.textShadow {text-shadow: 3px 3px 1px #B4A0CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A0CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A0CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A0CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A0CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A0CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A0CD; -webkit-box-shadow: 1px 1px 3px 2px #B4A0CD; box-shadow: 1px 1px 3px 2px #B4A0CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A0CD; -webkit-box-shadow: 1px 1px 3px 2px #B4A0CD; box-shadow:1px 1px 3px 2px #B4A0CD;">
Div content here</div>
This text has color #B4A0CD on black background.
This text has color #B4A0CD on white background.
This text has black color on #B4A0CD background.
This text has white color on #B4A0CD background.