HEX: #B48CBC
RGB: (180,140,188)
#B48CBC contains red, green and blue colors in about the same proportion. Web safe color of #B48CBC is #CC99CC (or #C9C).
#B48CBC color RGB value is (180,140,188).
RGB: (180,140,188) (71%,55%,74%)
R 180 of 255 = 71%
G 140 of 255 = 55%
B 188 of 255 = 74%
R + G + B ~ 67%. #B48CBC is quite light color.
R + G + B =
180 + 140 + 188 = 508 (100%)
R 180 of 508 ~ 35.43%
G 140 of 508 ~ 27.56%
B 188 of 508 ~ 37.01%
#B48CBC color CMYK value is (4,26,0,26).
CMYK: (4,26,0,26) C4M26Y0K26 (4%,26%,0%,26%) (0.04/0.26/0.00/0.26)
B4 | 8C | BC | |
---|---|---|---|
RGB | 180 | 140 | 188 |
HSL | 290° | 26.37% | 64.31% |
HSB/HSV | 290° | 25.53% | 73.73% |
CMYK | 4.26% | 25.53% | 0.00% |
26.27% |
HEX | B4 | 8C | BC |
Decimal | 180 | 140 | 188 |
Binary | 10110100 | 10001100 | 10111100 |
Octal | 264 | 214 | 274 |
Examples of css and html codes for elements with #B48CBC color. Also use rgb(180,140,188) instead hex code.
.myTextColor { color: #B48CBC; }
<p style="color:#B48CBC">This sample text font color is #B48CBC.</p>
This text font color is #B48CBC.
.myBgColor { background-color: #B48CBC; }
<div style="background-color:#B48CBC">Inner text</div>
This div background color is #B48CBC.
.myBorderColor { border: 1px solid #B48CBC; }
<div style="border:3px solid #B48CBC">Div</div>
This div border color is #B48CBC.
.myOpacity80 { color: #B48CBC; opacity: 0.8; }
<p style="color:#B48CBC;opacity:0.8;">80%</p>
Text with #B48CBC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48CBC;}
<p style="text-shadow: 3px 3px 1px #B48CBC">Text here.</p>
This text has shadow with #B48CBC color.
.textShadow {text-shadow: 3px 3px 1px #B48CBC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48CBC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48CBC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48CBC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48CBC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48CBC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48CBC; -webkit-box-shadow: 1px 1px 3px 2px #B48CBC; box-shadow: 1px 1px 3px 2px #B48CBC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48CBC; -webkit-box-shadow: 1px 1px 3px 2px #B48CBC; box-shadow:1px 1px 3px 2px #B48CBC;">
Div content here</div>
This text has color #B48CBC on black background.
This text has color #B48CBC on white background.
This text has black color on #B48CBC background.
This text has white color on #B48CBC background.