HEX: #B988ED
RGB: (185,136,237)
#B988ED contains mainly red and blue colors. Web safe color of #B988ED is #CC99FF (or #C9F).
#B988ED color RGB value is (185,136,237).
RGB: (185,136,237) (73%,53%,93%)
R 185 of 255 = 73%
G 136 of 255 = 53%
B 237 of 255 = 93%
R + G + B ~ 73%. #B988ED is quite light color.
R + G + B =
185 + 136 + 237 = 558 (100%)
R 185 of 558 ~ 33.15%
G 136 of 558 ~ 24.37%
B 237 of 558 ~ 42.47%
#B988ED color CMYK value is (22,43,0,7).
CMYK: (22,43,0,7) C22M43Y0K7 (22%,43%,0%,7%) (0.22/0.43/0.00/0.07)
B9 | 88 | ED | |
---|---|---|---|
RGB | 185 | 136 | 237 |
HSL | 269° | 73.72% | 73.14% |
HSB/HSV | 269° | 42.62% | 92.94% |
CMYK | 21.94% | 42.62% | 0.00% |
7.06% |
HEX | B9 | 88 | ED |
Decimal | 185 | 136 | 237 |
Binary | 10111001 | 10001000 | 11101101 |
Octal | 271 | 210 | 355 |
Examples of css and html codes for elements with #B988ED color. Also use rgb(185,136,237) instead hex code.
.myTextColor { color: #B988ED; }
<p style="color:#B988ED">This sample text font color is #B988ED.</p>
This text font color is #B988ED.
.myBgColor { background-color: #B988ED; }
<div style="background-color:#B988ED">Inner text</div>
This div background color is #B988ED.
.myBorderColor { border: 1px solid #B988ED; }
<div style="border:3px solid #B988ED">Div</div>
This div border color is #B988ED.
.myOpacity80 { color: #B988ED; opacity: 0.8; }
<p style="color:#B988ED;opacity:0.8;">80%</p>
Text with #B988ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B988ED;}
<p style="text-shadow: 3px 3px 1px #B988ED">Text here.</p>
This text has shadow with #B988ED color.
.textShadow {text-shadow: 3px 3px 1px #B988ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B988ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #B988ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B988ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B988ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #B988ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B988ED; -webkit-box-shadow: 1px 1px 3px 2px #B988ED; box-shadow: 1px 1px 3px 2px #B988ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B988ED; -webkit-box-shadow: 1px 1px 3px 2px #B988ED; box-shadow:1px 1px 3px 2px #B988ED;">
Div content here</div>
This text has color #B988ED on black background.
This text has color #B988ED on white background.
This text has black color on #B988ED background.
This text has white color on #B988ED background.