HEX: #B49EFC
RGB: (180,158,252)
#B49EFC contains mainly blue color. Web safe color of #B49EFC is #CC99FF (or #C9F).
#B49EFC color RGB value is (180,158,252).
RGB: (180,158,252) (71%,62%,99%)
R 180 of 255 = 71%
G 158 of 255 = 62%
B 252 of 255 = 99%
R + G + B ~ 77%. #B49EFC is quite light color.
R + G + B =
180 + 158 + 252 = 590 (100%)
R 180 of 590 ~ 30.51%
G 158 of 590 ~ 26.78%
B 252 of 590 ~ 42.71%
#B49EFC color CMYK value is (29,37,0,1).
CMYK: (29,37,0,1) C29M37Y0K1 (29%,37%,0%,1%) (0.29/0.37/0.00/0.01)
B4 | 9E | FC | |
---|---|---|---|
RGB | 180 | 158 | 252 |
HSL | 254° | 94.00% | 80.39% |
HSB/HSV | 254° | 37.30% | 98.82% |
CMYK | 28.57% | 37.30% | 0.00% |
1.18% |
HEX | B4 | 9E | FC |
Decimal | 180 | 158 | 252 |
Binary | 10110100 | 10011110 | 11111100 |
Octal | 264 | 236 | 374 |
Examples of css and html codes for elements with #B49EFC color. Also use rgb(180,158,252) instead hex code.
.myTextColor { color: #B49EFC; }
<p style="color:#B49EFC">This sample text font color is #B49EFC.</p>
This text font color is #B49EFC.
.myBgColor { background-color: #B49EFC; }
<div style="background-color:#B49EFC">Inner text</div>
This div background color is #B49EFC.
.myBorderColor { border: 1px solid #B49EFC; }
<div style="border:3px solid #B49EFC">Div</div>
This div border color is #B49EFC.
.myOpacity80 { color: #B49EFC; opacity: 0.8; }
<p style="color:#B49EFC;opacity:0.8;">80%</p>
Text with #B49EFC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B49EFC;}
<p style="text-shadow: 3px 3px 1px #B49EFC">Text here.</p>
This text has shadow with #B49EFC color.
.textShadow {text-shadow: 3px 3px 1px #B49EFC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B49EFC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B49EFC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B49EFC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B49EFC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B49EFC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B49EFC; -webkit-box-shadow: 1px 1px 3px 2px #B49EFC; box-shadow: 1px 1px 3px 2px #B49EFC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B49EFC; -webkit-box-shadow: 1px 1px 3px 2px #B49EFC; box-shadow:1px 1px 3px 2px #B49EFC;">
Div content here</div>
This text has color #B49EFC on black background.
This text has color #B49EFC on white background.
This text has black color on #B49EFC background.
This text has white color on #B49EFC background.