HEX: #B48EDC
RGB: (180,142,220)
#B48EDC contains mainly red and blue colors. Web safe color of #B48EDC is #CC99CC (or #C9C).
#B48EDC color RGB value is (180,142,220).
RGB: (180,142,220) (71%,56%,86%)
R 180 of 255 = 71%
G 142 of 255 = 56%
B 220 of 255 = 86%
R + G + B ~ 71%. #B48EDC is quite light color.
R + G + B =
180 + 142 + 220 = 542 (100%)
R 180 of 542 ~ 33.21%
G 142 of 542 ~ 26.2%
B 220 of 542 ~ 40.59%
#B48EDC color CMYK value is (18,35,0,14).
CMYK: (18,35,0,14) C18M35Y0K14 (18%,35%,0%,14%) (0.18/0.35/0.00/0.14)
B4 | 8E | DC | |
---|---|---|---|
RGB | 180 | 142 | 220 |
HSL | 269° | 52.70% | 70.98% |
HSB/HSV | 269° | 35.45% | 86.27% |
CMYK | 18.18% | 35.45% | 0.00% |
13.73% |
HEX | B4 | 8E | DC |
Decimal | 180 | 142 | 220 |
Binary | 10110100 | 10001110 | 11011100 |
Octal | 264 | 216 | 334 |
Examples of css and html codes for elements with #B48EDC color. Also use rgb(180,142,220) instead hex code.
.myTextColor { color: #B48EDC; }
<p style="color:#B48EDC">This sample text font color is #B48EDC.</p>
This text font color is #B48EDC.
.myBgColor { background-color: #B48EDC; }
<div style="background-color:#B48EDC">Inner text</div>
This div background color is #B48EDC.
.myBorderColor { border: 1px solid #B48EDC; }
<div style="border:3px solid #B48EDC">Div</div>
This div border color is #B48EDC.
.myOpacity80 { color: #B48EDC; opacity: 0.8; }
<p style="color:#B48EDC;opacity:0.8;">80%</p>
Text with #B48EDC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48EDC;}
<p style="text-shadow: 3px 3px 1px #B48EDC">Text here.</p>
This text has shadow with #B48EDC color.
.textShadow {text-shadow: 3px 3px 1px #B48EDC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48EDC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48EDC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48EDC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48EDC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48EDC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48EDC; -webkit-box-shadow: 1px 1px 3px 2px #B48EDC; box-shadow: 1px 1px 3px 2px #B48EDC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48EDC; -webkit-box-shadow: 1px 1px 3px 2px #B48EDC; box-shadow:1px 1px 3px 2px #B48EDC;">
Div content here</div>
This text has color #B48EDC on black background.
This text has color #B48EDC on white background.
This text has black color on #B48EDC background.
This text has white color on #B48EDC background.