HEX: #B4A7F9
RGB: (180,167,249)
#B4A7F9 contains mainly blue color. Web safe color of #B4A7F9 is #CC99FF (or #C9F).
#B4A7F9 color RGB value is (180,167,249).
RGB: (180,167,249) (71%,65%,98%)
R 180 of 255 = 71%
G 167 of 255 = 65%
B 249 of 255 = 98%
R + G + B ~ 78%. #B4A7F9 is quite light color.
R + G + B =
180 + 167 + 249 = 596 (100%)
R 180 of 596 ~ 30.2%
G 167 of 596 ~ 28.02%
B 249 of 596 ~ 41.78%
#B4A7F9 color CMYK value is (28,33,0,2).
CMYK: (28,33,0,2) C28M33Y0K2 (28%,33%,0%,2%) (0.28/0.33/0.00/0.02)
B4 | A7 | F9 | |
---|---|---|---|
RGB | 180 | 167 | 249 |
HSL | 250° | 87.23% | 81.57% |
HSB/HSV | 250° | 32.93% | 97.65% |
CMYK | 27.71% | 32.93% | 0.00% |
2.35% |
HEX | B4 | A7 | F9 |
Decimal | 180 | 167 | 249 |
Binary | 10110100 | 10100111 | 11111001 |
Octal | 264 | 247 | 371 |
Examples of css and html codes for elements with #B4A7F9 color. Also use rgb(180,167,249) instead hex code.
.myTextColor { color: #B4A7F9; }
<p style="color:#B4A7F9">This sample text font color is #B4A7F9.</p>
This text font color is #B4A7F9.
.myBgColor { background-color: #B4A7F9; }
<div style="background-color:#B4A7F9">Inner text</div>
This div background color is #B4A7F9.
.myBorderColor { border: 1px solid #B4A7F9; }
<div style="border:3px solid #B4A7F9">Div</div>
This div border color is #B4A7F9.
.myOpacity80 { color: #B4A7F9; opacity: 0.8; }
<p style="color:#B4A7F9;opacity:0.8;">80%</p>
Text with #B4A7F9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A7F9;}
<p style="text-shadow: 3px 3px 1px #B4A7F9">Text here.</p>
This text has shadow with #B4A7F9 color.
.textShadow {text-shadow: 3px 3px 1px #B4A7F9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A7F9, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A7F9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A7F9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A7F9, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A7F9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A7F9; -webkit-box-shadow: 1px 1px 3px 2px #B4A7F9; box-shadow: 1px 1px 3px 2px #B4A7F9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A7F9; -webkit-box-shadow: 1px 1px 3px 2px #B4A7F9; box-shadow:1px 1px 3px 2px #B4A7F9;">
Div content here</div>
This text has color #B4A7F9 on black background.
This text has color #B4A7F9 on white background.
This text has black color on #B4A7F9 background.
This text has white color on #B4A7F9 background.