HEX: #B48AFF
RGB: (180,138,255)
#B48AFF contains mainly blue color. Web safe color of #B48AFF is #CC99FF (or #C9F).
#B48AFF color RGB value is (180,138,255).
RGB: (180,138,255) (71%,54%,100%)
R 180 of 255 = 71%
G 138 of 255 = 54%
B 255 of 255 = 100%
R + G + B ~ 75%. #B48AFF is quite light color.
R + G + B =
180 + 138 + 255 = 573 (100%)
R 180 of 573 ~ 31.41%
G 138 of 573 ~ 24.08%
B 255 of 573 ~ 44.5%
#B48AFF color CMYK value is (29,46,0,0).
CMYK: (29,46,0,0) C29M46Y0K0 (29%,46%,0%,0%) (0.29/0.46/0.00/0.00)
B4 | 8A | FF | |
---|---|---|---|
RGB | 180 | 138 | 255 |
HSL | 262° | 100.00% | 77.06% |
HSB/HSV | 262° | 45.88% | 100.00% |
CMYK | 29.41% | 45.88% | 0.00% |
0.00% |
HEX | B4 | 8A | FF |
Decimal | 180 | 138 | 255 |
Binary | 10110100 | 10001010 | 11111111 |
Octal | 264 | 212 | 377 |
Examples of css and html codes for elements with #B48AFF color. Also use rgb(180,138,255) instead hex code.
.myTextColor { color: #B48AFF; }
<p style="color:#B48AFF">This sample text font color is #B48AFF.</p>
This text font color is #B48AFF.
.myBgColor { background-color: #B48AFF; }
<div style="background-color:#B48AFF">Inner text</div>
This div background color is #B48AFF.
.myBorderColor { border: 1px solid #B48AFF; }
<div style="border:3px solid #B48AFF">Div</div>
This div border color is #B48AFF.
.myOpacity80 { color: #B48AFF; opacity: 0.8; }
<p style="color:#B48AFF;opacity:0.8;">80%</p>
Text with #B48AFF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48AFF;}
<p style="text-shadow: 3px 3px 1px #B48AFF">Text here.</p>
This text has shadow with #B48AFF color.
.textShadow {text-shadow: 3px 3px 1px #B48AFF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48AFF, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48AFF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48AFF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48AFF, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48AFF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48AFF; -webkit-box-shadow: 1px 1px 3px 2px #B48AFF; box-shadow: 1px 1px 3px 2px #B48AFF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48AFF; -webkit-box-shadow: 1px 1px 3px 2px #B48AFF; box-shadow:1px 1px 3px 2px #B48AFF;">
Div content here</div>
This text has color #B48AFF on black background.
This text has color #B48AFF on white background.
This text has black color on #B48AFF background.
This text has white color on #B48AFF background.