HEX: #B1AFEB
RGB: (177,175,235)
#B1AFEB contains mainly red and blue colors. Web safe color of #B1AFEB is #9999FF (or #99F).
#B1AFEB color RGB value is (177,175,235).
RGB: (177,175,235) (69%,69%,92%)
R 177 of 255 = 69%
G 175 of 255 = 69%
B 235 of 255 = 92%
R + G + B ~ 77%. #B1AFEB is quite light color.
R + G + B =
177 + 175 + 235 = 587 (100%)
R 177 of 587 ~ 30.15%
G 175 of 587 ~ 29.81%
B 235 of 587 ~ 40.03%
#B1AFEB color CMYK value is (25,26,0,8).
CMYK: (25,26,0,8) C25M26Y0K8 (25%,26%,0%,8%) (0.25/0.26/0.00/0.08)
B1 | AF | EB | |
---|---|---|---|
RGB | 177 | 175 | 235 |
HSL | 242° | 60.00% | 80.39% |
HSB/HSV | 242° | 25.53% | 92.16% |
CMYK | 24.68% | 25.53% | 0.00% |
7.84% |
HEX | B1 | AF | EB |
Decimal | 177 | 175 | 235 |
Binary | 10110001 | 10101111 | 11101011 |
Octal | 261 | 257 | 353 |
Examples of css and html codes for elements with #B1AFEB color. Also use rgb(177,175,235) instead hex code.
.myTextColor { color: #B1AFEB; }
<p style="color:#B1AFEB">This sample text font color is #B1AFEB.</p>
This text font color is #B1AFEB.
.myBgColor { background-color: #B1AFEB; }
<div style="background-color:#B1AFEB">Inner text</div>
This div background color is #B1AFEB.
.myBorderColor { border: 1px solid #B1AFEB; }
<div style="border:3px solid #B1AFEB">Div</div>
This div border color is #B1AFEB.
.myOpacity80 { color: #B1AFEB; opacity: 0.8; }
<p style="color:#B1AFEB;opacity:0.8;">80%</p>
Text with #B1AFEB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B1AFEB;}
<p style="text-shadow: 3px 3px 1px #B1AFEB">Text here.</p>
This text has shadow with #B1AFEB color.
.textShadow {text-shadow: 3px 3px 1px #B1AFEB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B1AFEB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B1AFEB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B1AFEB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B1AFEB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B1AFEB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B1AFEB; -webkit-box-shadow: 1px 1px 3px 2px #B1AFEB; box-shadow: 1px 1px 3px 2px #B1AFEB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B1AFEB; -webkit-box-shadow: 1px 1px 3px 2px #B1AFEB; box-shadow:1px 1px 3px 2px #B1AFEB;">
Div content here</div>
This text has color #B1AFEB on black background.
This text has color #B1AFEB on white background.
This text has black color on #B1AFEB background.
This text has white color on #B1AFEB background.