HEX: #B48ADD
RGB: (180,138,221)
#B48ADD contains mainly red and blue colors. Web safe color of #B48ADD is #CC99CC (or #C9C).
#B48ADD color RGB value is (180,138,221).
RGB: (180,138,221) (71%,54%,87%)
R 180 of 255 = 71%
G 138 of 255 = 54%
B 221 of 255 = 87%
R + G + B ~ 71%. #B48ADD is quite light color.
R + G + B =
180 + 138 + 221 = 539 (100%)
R 180 of 539 ~ 33.4%
G 138 of 539 ~ 25.6%
B 221 of 539 ~ 41%
#B48ADD 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 | DD | |
---|---|---|---|
RGB | 180 | 138 | 221 |
HSL | 270° | 54.97% | 70.39% |
HSB/HSV | 270° | 37.56% | 86.67% |
CMYK | 18.55% | 37.56% | 0.00% |
13.33% |
HEX | B4 | 8A | DD |
Decimal | 180 | 138 | 221 |
Binary | 10110100 | 10001010 | 11011101 |
Octal | 264 | 212 | 335 |
Examples of css and html codes for elements with #B48ADD color. Also use rgb(180,138,221) instead hex code.
.myTextColor { color: #B48ADD; }
<p style="color:#B48ADD">This sample text font color is #B48ADD.</p>
This text font color is #B48ADD.
.myBgColor { background-color: #B48ADD; }
<div style="background-color:#B48ADD">Inner text</div>
This div background color is #B48ADD.
.myBorderColor { border: 1px solid #B48ADD; }
<div style="border:3px solid #B48ADD">Div</div>
This div border color is #B48ADD.
.myOpacity80 { color: #B48ADD; opacity: 0.8; }
<p style="color:#B48ADD;opacity:0.8;">80%</p>
Text with #B48ADD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48ADD;}
<p style="text-shadow: 3px 3px 1px #B48ADD">Text here.</p>
This text has shadow with #B48ADD color.
.textShadow {text-shadow: 3px 3px 1px #B48ADD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48ADD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48ADD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48ADD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48ADD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48ADD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48ADD; -webkit-box-shadow: 1px 1px 3px 2px #B48ADD; box-shadow: 1px 1px 3px 2px #B48ADD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48ADD; -webkit-box-shadow: 1px 1px 3px 2px #B48ADD; box-shadow:1px 1px 3px 2px #B48ADD;">
Div content here</div>
This text has color #B48ADD on black background.
This text has color #B48ADD on white background.
This text has black color on #B48ADD background.
This text has white color on #B48ADD background.