HEX: #B4AAFA
RGB: (180,170,250)
#B4AAFA contains mainly blue color. Web safe color of #B4AAFA is #CC99FF (or #C9F).
#B4AAFA color RGB value is (180,170,250).
RGB: (180,170,250) (71%,67%,98%)
R 180 of 255 = 71%
G 170 of 255 = 67%
B 250 of 255 = 98%
R + G + B ~ 79%. #B4AAFA is quite light color.
R + G + B =
180 + 170 + 250 = 600 (100%)
R 180 of 600 ~ 30%
G 170 of 600 ~ 28.33%
B 250 of 600 ~ 41.67%
#B4AAFA color CMYK value is (28,32,0,2).
CMYK: (28,32,0,2) C28M32Y0K2 (28%,32%,0%,2%) (0.28/0.32/0.00/0.02)
B4 | AA | FA | |
---|---|---|---|
RGB | 180 | 170 | 250 |
HSL | 248° | 88.89% | 82.35% |
HSB/HSV | 248° | 32.00% | 98.04% |
CMYK | 28.00% | 32.00% | 0.00% |
1.96% |
HEX | B4 | AA | FA |
Decimal | 180 | 170 | 250 |
Binary | 10110100 | 10101010 | 11111010 |
Octal | 264 | 252 | 372 |
Examples of css and html codes for elements with #B4AAFA color. Also use rgb(180,170,250) instead hex code.
.myTextColor { color: #B4AAFA; }
<p style="color:#B4AAFA">This sample text font color is #B4AAFA.</p>
This text font color is #B4AAFA.
.myBgColor { background-color: #B4AAFA; }
<div style="background-color:#B4AAFA">Inner text</div>
This div background color is #B4AAFA.
.myBorderColor { border: 1px solid #B4AAFA; }
<div style="border:3px solid #B4AAFA">Div</div>
This div border color is #B4AAFA.
.myOpacity80 { color: #B4AAFA; opacity: 0.8; }
<p style="color:#B4AAFA;opacity:0.8;">80%</p>
Text with #B4AAFA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4AAFA;}
<p style="text-shadow: 3px 3px 1px #B4AAFA">Text here.</p>
This text has shadow with #B4AAFA color.
.textShadow {text-shadow: 3px 3px 1px #B4AAFA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4AAFA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4AAFA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4AAFA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4AAFA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4AAFA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4AAFA; -webkit-box-shadow: 1px 1px 3px 2px #B4AAFA; box-shadow: 1px 1px 3px 2px #B4AAFA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4AAFA; -webkit-box-shadow: 1px 1px 3px 2px #B4AAFA; box-shadow:1px 1px 3px 2px #B4AAFA;">
Div content here</div>
This text has color #B4AAFA on black background.
This text has color #B4AAFA on white background.
This text has black color on #B4AAFA background.
This text has white color on #B4AAFA background.