HEX: #B989EB
RGB: (185,137,235)
#B989EB contains mainly red and blue colors. Web safe color of #B989EB is #CC99FF (or #C9F).
#B989EB color RGB value is (185,137,235).
RGB: (185,137,235) (73%,54%,92%)
R 185 of 255 = 73%
G 137 of 255 = 54%
B 235 of 255 = 92%
R + G + B ~ 73%. #B989EB is quite light color.
R + G + B =
185 + 137 + 235 = 557 (100%)
R 185 of 557 ~ 33.21%
G 137 of 557 ~ 24.6%
B 235 of 557 ~ 42.19%
#B989EB color CMYK value is (21,42,0,8).
CMYK: (21,42,0,8) C21M42Y0K8 (21%,42%,0%,8%) (0.21/0.42/0.00/0.08)
B9 | 89 | EB | |
---|---|---|---|
RGB | 185 | 137 | 235 |
HSL | 269° | 71.01% | 72.94% |
HSB/HSV | 269° | 41.70% | 92.16% |
CMYK | 21.28% | 41.70% | 0.00% |
7.84% |
HEX | B9 | 89 | EB |
Decimal | 185 | 137 | 235 |
Binary | 10111001 | 10001001 | 11101011 |
Octal | 271 | 211 | 353 |
Examples of css and html codes for elements with #B989EB color. Also use rgb(185,137,235) instead hex code.
.myTextColor { color: #B989EB; }
<p style="color:#B989EB">This sample text font color is #B989EB.</p>
This text font color is #B989EB.
.myBgColor { background-color: #B989EB; }
<div style="background-color:#B989EB">Inner text</div>
This div background color is #B989EB.
.myBorderColor { border: 1px solid #B989EB; }
<div style="border:3px solid #B989EB">Div</div>
This div border color is #B989EB.
.myOpacity80 { color: #B989EB; opacity: 0.8; }
<p style="color:#B989EB;opacity:0.8;">80%</p>
Text with #B989EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B989EB;}
<p style="text-shadow: 3px 3px 1px #B989EB">Text here.</p>
This text has shadow with #B989EB color.
.textShadow {text-shadow: 3px 3px 1px #B989EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B989EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B989EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B989EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B989EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B989EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B989EB; -webkit-box-shadow: 1px 1px 3px 2px #B989EB; box-shadow: 1px 1px 3px 2px #B989EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B989EB; -webkit-box-shadow: 1px 1px 3px 2px #B989EB; box-shadow:1px 1px 3px 2px #B989EB;">
Div content here</div>
This text has color #B989EB on black background.
This text has color #B989EB on white background.
This text has black color on #B989EB background.
This text has white color on #B989EB background.