HEX: #B48CBB
RGB: (180,140,187)
#B48CBB contains red, green and blue colors in about the same proportion. Web safe color of #B48CBB is #CC99CC (or #C9C).
#B48CBB color RGB value is (180,140,187).
RGB: (180,140,187) (71%,55%,73%)
R 180 of 255 = 71%
G 140 of 255 = 55%
B 187 of 255 = 73%
R + G + B ~ 66%. #B48CBB is quite light color.
R + G + B =
180 + 140 + 187 = 507 (100%)
R 180 of 507 ~ 35.5%
G 140 of 507 ~ 27.61%
B 187 of 507 ~ 36.88%
#B48CBB color CMYK value is (4,25,0,27).
CMYK: (4,25,0,27) C4M25Y0K27 (4%,25%,0%,27%) (0.04/0.25/0.00/0.27)
B4 | 8C | BB | |
---|---|---|---|
RGB | 180 | 140 | 187 |
HSL | 291° | 25.68% | 64.12% |
HSB/HSV | 291° | 25.13% | 73.33% |
CMYK | 3.74% | 25.13% | 0.00% |
26.67% |
HEX | B4 | 8C | BB |
Decimal | 180 | 140 | 187 |
Binary | 10110100 | 10001100 | 10111011 |
Octal | 264 | 214 | 273 |
Examples of css and html codes for elements with #B48CBB color. Also use rgb(180,140,187) instead hex code.
.myTextColor { color: #B48CBB; }
<p style="color:#B48CBB">This sample text font color is #B48CBB.</p>
This text font color is #B48CBB.
.myBgColor { background-color: #B48CBB; }
<div style="background-color:#B48CBB">Inner text</div>
This div background color is #B48CBB.
.myBorderColor { border: 1px solid #B48CBB; }
<div style="border:3px solid #B48CBB">Div</div>
This div border color is #B48CBB.
.myOpacity80 { color: #B48CBB; opacity: 0.8; }
<p style="color:#B48CBB;opacity:0.8;">80%</p>
Text with #B48CBB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48CBB;}
<p style="text-shadow: 3px 3px 1px #B48CBB">Text here.</p>
This text has shadow with #B48CBB color.
.textShadow {text-shadow: 3px 3px 1px #B48CBB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48CBB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48CBB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48CBB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48CBB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48CBB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48CBB; -webkit-box-shadow: 1px 1px 3px 2px #B48CBB; box-shadow: 1px 1px 3px 2px #B48CBB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48CBB; -webkit-box-shadow: 1px 1px 3px 2px #B48CBB; box-shadow:1px 1px 3px 2px #B48CBB;">
Div content here</div>
This text has color #B48CBB on black background.
This text has color #B48CBB on white background.
This text has black color on #B48CBB background.
This text has white color on #B48CBB background.