HEX: #B98EDF
RGB: (185,142,223)
#B98EDF contains mainly red and blue colors. Web safe color of #B98EDF is #CC99CC (or #C9C).
#B98EDF color RGB value is (185,142,223).
RGB: (185,142,223) (73%,56%,87%)
R 185 of 255 = 73%
G 142 of 255 = 56%
B 223 of 255 = 87%
R + G + B ~ 72%. #B98EDF is quite light color.
R + G + B =
185 + 142 + 223 = 550 (100%)
R 185 of 550 ~ 33.64%
G 142 of 550 ~ 25.82%
B 223 of 550 ~ 40.55%
#B98EDF color CMYK value is (17,36,0,13).
CMYK: (17,36,0,13) C17M36Y0K13 (17%,36%,0%,13%) (0.17/0.36/0.00/0.13)
B9 | 8E | DF | |
---|---|---|---|
RGB | 185 | 142 | 223 |
HSL | 272° | 55.86% | 71.57% |
HSB/HSV | 272° | 36.32% | 87.45% |
CMYK | 17.04% | 36.32% | 0.00% |
12.55% |
HEX | B9 | 8E | DF |
Decimal | 185 | 142 | 223 |
Binary | 10111001 | 10001110 | 11011111 |
Octal | 271 | 216 | 337 |
Examples of css and html codes for elements with #B98EDF color. Also use rgb(185,142,223) instead hex code.
.myTextColor { color: #B98EDF; }
<p style="color:#B98EDF">This sample text font color is #B98EDF.</p>
This text font color is #B98EDF.
.myBgColor { background-color: #B98EDF; }
<div style="background-color:#B98EDF">Inner text</div>
This div background color is #B98EDF.
.myBorderColor { border: 1px solid #B98EDF; }
<div style="border:3px solid #B98EDF">Div</div>
This div border color is #B98EDF.
.myOpacity80 { color: #B98EDF; opacity: 0.8; }
<p style="color:#B98EDF;opacity:0.8;">80%</p>
Text with #B98EDF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B98EDF;}
<p style="text-shadow: 3px 3px 1px #B98EDF">Text here.</p>
This text has shadow with #B98EDF color.
.textShadow {text-shadow: 3px 3px 1px #B98EDF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B98EDF, 5px 5px 20px red">Text here.</p>
This text has shadow with #B98EDF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B98EDF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B98EDF, Direction=45, Strength=4)">Text</p>
This text has shadow with #B98EDF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B98EDF; -webkit-box-shadow: 1px 1px 3px 2px #B98EDF; box-shadow: 1px 1px 3px 2px #B98EDF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B98EDF; -webkit-box-shadow: 1px 1px 3px 2px #B98EDF; box-shadow:1px 1px 3px 2px #B98EDF;">
Div content here</div>
This text has color #B98EDF on black background.
This text has color #B98EDF on white background.
This text has black color on #B98EDF background.
This text has white color on #B98EDF background.