HEX: #B48EB1
RGB: (180,142,177)
#B48EB1 contains red, green and blue colors in about the same proportion. Web safe color of #B48EB1 is #CC9999 (or #C99).
#B48EB1 color RGB value is (180,142,177).
RGB: (180,142,177) (71%,56%,69%)
R 180 of 255 = 71%
G 142 of 255 = 56%
B 177 of 255 = 69%
R + G + B ~ 65%. #B48EB1 is quite light color.
R + G + B =
180 + 142 + 177 = 499 (100%)
R 180 of 499 ~ 36.07%
G 142 of 499 ~ 28.46%
B 177 of 499 ~ 35.47%
#B48EB1 color CMYK value is (0,21,2,29).
CMYK: (0,21,2,29) C0M21Y2K29 (0%,21%,2%,29%) (0.00/0.21/0.02/0.29)
B4 | 8E | B1 | |
---|---|---|---|
RGB | 180 | 142 | 177 |
HSL | 305° | 20.21% | 63.14% |
HSB/HSV | 305° | 21.11% | 70.59% |
CMYK | 0.00% | 21.11% | 1.67% |
29.41% |
HEX | B4 | 8E | B1 |
Decimal | 180 | 142 | 177 |
Binary | 10110100 | 10001110 | 10110001 |
Octal | 264 | 216 | 261 |
Examples of css and html codes for elements with #B48EB1 color. Also use rgb(180,142,177) instead hex code.
.myTextColor { color: #B48EB1; }
<p style="color:#B48EB1">This sample text font color is #B48EB1.</p>
This text font color is #B48EB1.
.myBgColor { background-color: #B48EB1; }
<div style="background-color:#B48EB1">Inner text</div>
This div background color is #B48EB1.
.myBorderColor { border: 1px solid #B48EB1; }
<div style="border:3px solid #B48EB1">Div</div>
This div border color is #B48EB1.
.myOpacity80 { color: #B48EB1; opacity: 0.8; }
<p style="color:#B48EB1;opacity:0.8;">80%</p>
Text with #B48EB1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48EB1;}
<p style="text-shadow: 3px 3px 1px #B48EB1">Text here.</p>
This text has shadow with #B48EB1 color.
.textShadow {text-shadow: 3px 3px 1px #B48EB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48EB1, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48EB1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48EB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48EB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48EB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48EB1; -webkit-box-shadow: 1px 1px 3px 2px #B48EB1; box-shadow: 1px 1px 3px 2px #B48EB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48EB1; -webkit-box-shadow: 1px 1px 3px 2px #B48EB1; box-shadow:1px 1px 3px 2px #B48EB1;">
Div content here</div>
This text has color #B48EB1 on black background.
This text has color #B48EB1 on white background.
This text has black color on #B48EB1 background.
This text has white color on #B48EB1 background.