HEX: #B2A5F1
RGB: (178,165,241)
#B2A5F1 contains mainly blue color. Web safe color of #B2A5F1 is #9999FF (or #99F).
#B2A5F1 color RGB value is (178,165,241).
RGB: (178,165,241) (70%,65%,95%)
R 178 of 255 = 70%
G 165 of 255 = 65%
B 241 of 255 = 95%
R + G + B ~ 77%. #B2A5F1 is quite light color.
R + G + B =
178 + 165 + 241 = 584 (100%)
R 178 of 584 ~ 30.48%
G 165 of 584 ~ 28.25%
B 241 of 584 ~ 41.27%
#B2A5F1 color CMYK value is (26,32,0,5).
CMYK: (26,32,0,5) C26M32Y0K5 (26%,32%,0%,5%) (0.26/0.32/0.00/0.05)
B2 | A5 | F1 | |
---|---|---|---|
RGB | 178 | 165 | 241 |
HSL | 250° | 73.08% | 79.61% |
HSB/HSV | 250° | 31.54% | 94.51% |
CMYK | 26.14% | 31.54% | 0.00% |
5.49% |
HEX | B2 | A5 | F1 |
Decimal | 178 | 165 | 241 |
Binary | 10110010 | 10100101 | 11110001 |
Octal | 262 | 245 | 361 |
Examples of css and html codes for elements with #B2A5F1 color. Also use rgb(178,165,241) instead hex code.
.myTextColor { color: #B2A5F1; }
<p style="color:#B2A5F1">This sample text font color is #B2A5F1.</p>
This text font color is #B2A5F1.
.myBgColor { background-color: #B2A5F1; }
<div style="background-color:#B2A5F1">Inner text</div>
This div background color is #B2A5F1.
.myBorderColor { border: 1px solid #B2A5F1; }
<div style="border:3px solid #B2A5F1">Div</div>
This div border color is #B2A5F1.
.myOpacity80 { color: #B2A5F1; opacity: 0.8; }
<p style="color:#B2A5F1;opacity:0.8;">80%</p>
Text with #B2A5F1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2A5F1;}
<p style="text-shadow: 3px 3px 1px #B2A5F1">Text here.</p>
This text has shadow with #B2A5F1 color.
.textShadow {text-shadow: 3px 3px 1px #B2A5F1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2A5F1, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2A5F1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2A5F1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2A5F1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2A5F1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2A5F1; -webkit-box-shadow: 1px 1px 3px 2px #B2A5F1; box-shadow: 1px 1px 3px 2px #B2A5F1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2A5F1; -webkit-box-shadow: 1px 1px 3px 2px #B2A5F1; box-shadow:1px 1px 3px 2px #B2A5F1;">
Div content here</div>
This text has color #B2A5F1 on black background.
This text has color #B2A5F1 on white background.
This text has black color on #B2A5F1 background.
This text has white color on #B2A5F1 background.