HEX: #B48AE6
RGB: (180,138,230)
#B48AE6 contains mainly red and blue colors. Web safe color of #B48AE6 is #CC99CC (or #C9C).
#B48AE6 color RGB value is (180,138,230).
RGB: (180,138,230) (71%,54%,90%)
R 180 of 255 = 71%
G 138 of 255 = 54%
B 230 of 255 = 90%
R + G + B ~ 72%. #B48AE6 is quite light color.
R + G + B =
180 + 138 + 230 = 548 (100%)
R 180 of 548 ~ 32.85%
G 138 of 548 ~ 25.18%
B 230 of 548 ~ 41.97%
#B48AE6 color CMYK value is (22,40,0,10).
CMYK: (22,40,0,10) C22M40Y0K10 (22%,40%,0%,10%) (0.22/0.40/0.00/0.10)
B4 | 8A | E6 | |
---|---|---|---|
RGB | 180 | 138 | 230 |
HSL | 267° | 64.79% | 72.16% |
HSB/HSV | 267° | 40.00% | 90.20% |
CMYK | 21.74% | 40.00% | 0.00% |
9.80% |
HEX | B4 | 8A | E6 |
Decimal | 180 | 138 | 230 |
Binary | 10110100 | 10001010 | 11100110 |
Octal | 264 | 212 | 346 |
Examples of css and html codes for elements with #B48AE6 color. Also use rgb(180,138,230) instead hex code.
.myTextColor { color: #B48AE6; }
<p style="color:#B48AE6">This sample text font color is #B48AE6.</p>
This text font color is #B48AE6.
.myBgColor { background-color: #B48AE6; }
<div style="background-color:#B48AE6">Inner text</div>
This div background color is #B48AE6.
.myBorderColor { border: 1px solid #B48AE6; }
<div style="border:3px solid #B48AE6">Div</div>
This div border color is #B48AE6.
.myOpacity80 { color: #B48AE6; opacity: 0.8; }
<p style="color:#B48AE6;opacity:0.8;">80%</p>
Text with #B48AE6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48AE6;}
<p style="text-shadow: 3px 3px 1px #B48AE6">Text here.</p>
This text has shadow with #B48AE6 color.
.textShadow {text-shadow: 3px 3px 1px #B48AE6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48AE6, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48AE6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48AE6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48AE6, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48AE6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48AE6; -webkit-box-shadow: 1px 1px 3px 2px #B48AE6; box-shadow: 1px 1px 3px 2px #B48AE6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48AE6; -webkit-box-shadow: 1px 1px 3px 2px #B48AE6; box-shadow:1px 1px 3px 2px #B48AE6;">
Div content here</div>
This text has color #B48AE6 on black background.
This text has color #B48AE6 on white background.
This text has black color on #B48AE6 background.
This text has white color on #B48AE6 background.