HEX: #B5A5F1
RGB: (181,165,241)
#B5A5F1 contains mainly blue color. Web safe color of #B5A5F1 is #CC99FF (or #C9F).
#B5A5F1 color RGB value is (181,165,241).
RGB: (181,165,241) (71%,65%,95%)
R 181 of 255 = 71%
G 165 of 255 = 65%
B 241 of 255 = 95%
R + G + B ~ 77%. #B5A5F1 is quite light color.
R + G + B =
181 + 165 + 241 = 587 (100%)
R 181 of 587 ~ 30.83%
G 165 of 587 ~ 28.11%
B 241 of 587 ~ 41.06%
#B5A5F1 color CMYK value is (25,32,0,5).
CMYK: (25,32,0,5) C25M32Y0K5 (25%,32%,0%,5%) (0.25/0.32/0.00/0.05)
B5 | A5 | F1 | |
---|---|---|---|
RGB | 181 | 165 | 241 |
HSL | 253° | 73.08% | 79.61% |
HSB/HSV | 253° | 31.54% | 94.51% |
CMYK | 24.90% | 31.54% | 0.00% |
5.49% |
HEX | B5 | A5 | F1 |
Decimal | 181 | 165 | 241 |
Binary | 10110101 | 10100101 | 11110001 |
Octal | 265 | 245 | 361 |
Examples of css and html codes for elements with #B5A5F1 color. Also use rgb(181,165,241) instead hex code.
.myTextColor { color: #B5A5F1; }
<p style="color:#B5A5F1">This sample text font color is #B5A5F1.</p>
This text font color is #B5A5F1.
.myBgColor { background-color: #B5A5F1; }
<div style="background-color:#B5A5F1">Inner text</div>
This div background color is #B5A5F1.
.myBorderColor { border: 1px solid #B5A5F1; }
<div style="border:3px solid #B5A5F1">Div</div>
This div border color is #B5A5F1.
.myOpacity80 { color: #B5A5F1; opacity: 0.8; }
<p style="color:#B5A5F1;opacity:0.8;">80%</p>
Text with #B5A5F1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5A5F1;}
<p style="text-shadow: 3px 3px 1px #B5A5F1">Text here.</p>
This text has shadow with #B5A5F1 color.
.textShadow {text-shadow: 3px 3px 1px #B5A5F1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5A5F1, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5A5F1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5A5F1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5A5F1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5A5F1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5A5F1; -webkit-box-shadow: 1px 1px 3px 2px #B5A5F1; box-shadow: 1px 1px 3px 2px #B5A5F1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5A5F1; -webkit-box-shadow: 1px 1px 3px 2px #B5A5F1; box-shadow:1px 1px 3px 2px #B5A5F1;">
Div content here</div>
This text has color #B5A5F1 on black background.
This text has color #B5A5F1 on white background.
This text has black color on #B5A5F1 background.
This text has white color on #B5A5F1 background.