HEX: #B4A1E0
RGB: (180,161,224)
#B4A1E0 contains mainly red and blue colors. Web safe color of #B4A1E0 is #CC99CC (or #C9C).
#B4A1E0 color RGB value is (180,161,224).
RGB: (180,161,224) (71%,63%,88%)
R 180 of 255 = 71%
G 161 of 255 = 63%
B 224 of 255 = 88%
R + G + B ~ 74%. #B4A1E0 is quite light color.
R + G + B =
180 + 161 + 224 = 565 (100%)
R 180 of 565 ~ 31.86%
G 161 of 565 ~ 28.5%
B 224 of 565 ~ 39.65%
#B4A1E0 color CMYK value is (20,28,0,12).
CMYK: (20,28,0,12) C20M28Y0K12 (20%,28%,0%,12%) (0.20/0.28/0.00/0.12)
B4 | A1 | E0 | |
---|---|---|---|
RGB | 180 | 161 | 224 |
HSL | 258° | 50.40% | 75.49% |
HSB/HSV | 258° | 28.13% | 87.84% |
CMYK | 19.64% | 28.13% | 0.00% |
12.16% |
HEX | B4 | A1 | E0 |
Decimal | 180 | 161 | 224 |
Binary | 10110100 | 10100001 | 11100000 |
Octal | 264 | 241 | 340 |
Examples of css and html codes for elements with #B4A1E0 color. Also use rgb(180,161,224) instead hex code.
.myTextColor { color: #B4A1E0; }
<p style="color:#B4A1E0">This sample text font color is #B4A1E0.</p>
This text font color is #B4A1E0.
.myBgColor { background-color: #B4A1E0; }
<div style="background-color:#B4A1E0">Inner text</div>
This div background color is #B4A1E0.
.myBorderColor { border: 1px solid #B4A1E0; }
<div style="border:3px solid #B4A1E0">Div</div>
This div border color is #B4A1E0.
.myOpacity80 { color: #B4A1E0; opacity: 0.8; }
<p style="color:#B4A1E0;opacity:0.8;">80%</p>
Text with #B4A1E0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A1E0;}
<p style="text-shadow: 3px 3px 1px #B4A1E0">Text here.</p>
This text has shadow with #B4A1E0 color.
.textShadow {text-shadow: 3px 3px 1px #B4A1E0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A1E0, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A1E0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A1E0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A1E0, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A1E0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A1E0; -webkit-box-shadow: 1px 1px 3px 2px #B4A1E0; box-shadow: 1px 1px 3px 2px #B4A1E0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A1E0; -webkit-box-shadow: 1px 1px 3px 2px #B4A1E0; box-shadow:1px 1px 3px 2px #B4A1E0;">
Div content here</div>
This text has color #B4A1E0 on black background.
This text has color #B4A1E0 on white background.
This text has black color on #B4A1E0 background.
This text has white color on #B4A1E0 background.