HEX: #B48ADE
RGB: (180,138,222)
#B48ADE contains mainly red and blue colors. Web safe color of #B48ADE is #CC99CC (or #C9C).
#B48ADE color RGB value is (180,138,222).
RGB: (180,138,222) (71%,54%,87%)
R 180 of 255 = 71%
G 138 of 255 = 54%
B 222 of 255 = 87%
R + G + B ~ 71%. #B48ADE is quite light color.
R + G + B =
180 + 138 + 222 = 540 (100%)
R 180 of 540 ~ 33.33%
G 138 of 540 ~ 25.56%
B 222 of 540 ~ 41.11%
#B48ADE color CMYK value is (19,38,0,13).
CMYK: (19,38,0,13) C19M38Y0K13 (19%,38%,0%,13%) (0.19/0.38/0.00/0.13)
B4 | 8A | DE | |
---|---|---|---|
RGB | 180 | 138 | 222 |
HSL | 270° | 56.00% | 70.59% |
HSB/HSV | 270° | 37.84% | 87.06% |
CMYK | 18.92% | 37.84% | 0.00% |
12.94% |
HEX | B4 | 8A | DE |
Decimal | 180 | 138 | 222 |
Binary | 10110100 | 10001010 | 11011110 |
Octal | 264 | 212 | 336 |
Examples of css and html codes for elements with #B48ADE color. Also use rgb(180,138,222) instead hex code.
.myTextColor { color: #B48ADE; }
<p style="color:#B48ADE">This sample text font color is #B48ADE.</p>
This text font color is #B48ADE.
.myBgColor { background-color: #B48ADE; }
<div style="background-color:#B48ADE">Inner text</div>
This div background color is #B48ADE.
.myBorderColor { border: 1px solid #B48ADE; }
<div style="border:3px solid #B48ADE">Div</div>
This div border color is #B48ADE.
.myOpacity80 { color: #B48ADE; opacity: 0.8; }
<p style="color:#B48ADE;opacity:0.8;">80%</p>
Text with #B48ADE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48ADE;}
<p style="text-shadow: 3px 3px 1px #B48ADE">Text here.</p>
This text has shadow with #B48ADE color.
.textShadow {text-shadow: 3px 3px 1px #B48ADE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48ADE, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48ADE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48ADE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48ADE, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48ADE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48ADE; -webkit-box-shadow: 1px 1px 3px 2px #B48ADE; box-shadow: 1px 1px 3px 2px #B48ADE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48ADE; -webkit-box-shadow: 1px 1px 3px 2px #B48ADE; box-shadow:1px 1px 3px 2px #B48ADE;">
Div content here</div>
This text has color #B48ADE on black background.
This text has color #B48ADE on white background.
This text has black color on #B48ADE background.
This text has white color on #B48ADE background.