HEX: #B48CBA
RGB: (180,140,186)
#B48CBA contains red, green and blue colors in about the same proportion. Web safe color of #B48CBA is #CC99CC (or #C9C).
#B48CBA color RGB value is (180,140,186).
RGB: (180,140,186) (71%,55%,73%)
R 180 of 255 = 71%
G 140 of 255 = 55%
B 186 of 255 = 73%
R + G + B ~ 66%. #B48CBA is quite light color.
R + G + B =
180 + 140 + 186 = 506 (100%)
R 180 of 506 ~ 35.57%
G 140 of 506 ~ 27.67%
B 186 of 506 ~ 36.76%
#B48CBA color CMYK value is (3,25,0,27).
CMYK: (3,25,0,27) C3M25Y0K27 (3%,25%,0%,27%) (0.03/0.25/0.00/0.27)
B4 | 8C | BA | |
---|---|---|---|
RGB | 180 | 140 | 186 |
HSL | 292° | 25.00% | 63.92% |
HSB/HSV | 292° | 24.73% | 72.94% |
CMYK | 3.23% | 24.73% | 0.00% |
27.06% |
HEX | B4 | 8C | BA |
Decimal | 180 | 140 | 186 |
Binary | 10110100 | 10001100 | 10111010 |
Octal | 264 | 214 | 272 |
Examples of css and html codes for elements with #B48CBA color. Also use rgb(180,140,186) instead hex code.
.myTextColor { color: #B48CBA; }
<p style="color:#B48CBA">This sample text font color is #B48CBA.</p>
This text font color is #B48CBA.
.myBgColor { background-color: #B48CBA; }
<div style="background-color:#B48CBA">Inner text</div>
This div background color is #B48CBA.
.myBorderColor { border: 1px solid #B48CBA; }
<div style="border:3px solid #B48CBA">Div</div>
This div border color is #B48CBA.
.myOpacity80 { color: #B48CBA; opacity: 0.8; }
<p style="color:#B48CBA;opacity:0.8;">80%</p>
Text with #B48CBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48CBA;}
<p style="text-shadow: 3px 3px 1px #B48CBA">Text here.</p>
This text has shadow with #B48CBA color.
.textShadow {text-shadow: 3px 3px 1px #B48CBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48CBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48CBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48CBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48CBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48CBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48CBA; -webkit-box-shadow: 1px 1px 3px 2px #B48CBA; box-shadow: 1px 1px 3px 2px #B48CBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48CBA; -webkit-box-shadow: 1px 1px 3px 2px #B48CBA; box-shadow:1px 1px 3px 2px #B48CBA;">
Div content here</div>
This text has color #B48CBA on black background.
This text has color #B48CBA on white background.
This text has black color on #B48CBA background.
This text has white color on #B48CBA background.