HEX: #B2AFE1
RGB: (178,175,225)
#B2AFE1 contains red, green and blue colors in about the same proportion. Web safe color of #B2AFE1 is #9999CC (or #99C).
#B2AFE1 color RGB value is (178,175,225).
RGB: (178,175,225) (70%,69%,88%)
R 178 of 255 = 70%
G 175 of 255 = 69%
B 225 of 255 = 88%
R + G + B ~ 76%. #B2AFE1 is quite light color.
R + G + B =
178 + 175 + 225 = 578 (100%)
R 178 of 578 ~ 30.8%
G 175 of 578 ~ 30.28%
B 225 of 578 ~ 38.93%
#B2AFE1 color CMYK value is (21,22,0,12).
CMYK: (21,22,0,12) C21M22Y0K12 (21%,22%,0%,12%) (0.21/0.22/0.00/0.12)
B2 | AF | E1 | |
---|---|---|---|
RGB | 178 | 175 | 225 |
HSL | 244° | 45.45% | 78.43% |
HSB/HSV | 244° | 22.22% | 88.24% |
CMYK | 20.89% | 22.22% | 0.00% |
11.76% |
HEX | B2 | AF | E1 |
Decimal | 178 | 175 | 225 |
Binary | 10110010 | 10101111 | 11100001 |
Octal | 262 | 257 | 341 |
Examples of css and html codes for elements with #B2AFE1 color. Also use rgb(178,175,225) instead hex code.
.myTextColor { color: #B2AFE1; }
<p style="color:#B2AFE1">This sample text font color is #B2AFE1.</p>
This text font color is #B2AFE1.
.myBgColor { background-color: #B2AFE1; }
<div style="background-color:#B2AFE1">Inner text</div>
This div background color is #B2AFE1.
.myBorderColor { border: 1px solid #B2AFE1; }
<div style="border:3px solid #B2AFE1">Div</div>
This div border color is #B2AFE1.
.myOpacity80 { color: #B2AFE1; opacity: 0.8; }
<p style="color:#B2AFE1;opacity:0.8;">80%</p>
Text with #B2AFE1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2AFE1;}
<p style="text-shadow: 3px 3px 1px #B2AFE1">Text here.</p>
This text has shadow with #B2AFE1 color.
.textShadow {text-shadow: 3px 3px 1px #B2AFE1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2AFE1, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2AFE1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2AFE1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2AFE1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2AFE1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2AFE1; -webkit-box-shadow: 1px 1px 3px 2px #B2AFE1; box-shadow: 1px 1px 3px 2px #B2AFE1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2AFE1; -webkit-box-shadow: 1px 1px 3px 2px #B2AFE1; box-shadow:1px 1px 3px 2px #B2AFE1;">
Div content here</div>
This text has color #B2AFE1 on black background.
This text has color #B2AFE1 on white background.
This text has black color on #B2AFE1 background.
This text has white color on #B2AFE1 background.