HEX: #B998DC
RGB: (185,152,220)
#B998DC contains mainly red and blue colors. Web safe color of #B998DC is #CC99CC (or #C9C).
#B998DC color RGB value is (185,152,220).
RGB: (185,152,220) (73%,60%,86%)
R 185 of 255 = 73%
G 152 of 255 = 60%
B 220 of 255 = 86%
R + G + B ~ 73%. #B998DC is quite light color.
R + G + B =
185 + 152 + 220 = 557 (100%)
R 185 of 557 ~ 33.21%
G 152 of 557 ~ 27.29%
B 220 of 557 ~ 39.5%
#B998DC color CMYK value is (16,31,0,14).
CMYK: (16,31,0,14) C16M31Y0K14 (16%,31%,0%,14%) (0.16/0.31/0.00/0.14)
B9 | 98 | DC | |
---|---|---|---|
RGB | 185 | 152 | 220 |
HSL | 269° | 49.28% | 72.94% |
HSB/HSV | 269° | 30.91% | 86.27% |
CMYK | 15.91% | 30.91% | 0.00% |
13.73% |
HEX | B9 | 98 | DC |
Decimal | 185 | 152 | 220 |
Binary | 10111001 | 10011000 | 11011100 |
Octal | 271 | 230 | 334 |
Examples of css and html codes for elements with #B998DC color. Also use rgb(185,152,220) instead hex code.
.myTextColor { color: #B998DC; }
<p style="color:#B998DC">This sample text font color is #B998DC.</p>
This text font color is #B998DC.
.myBgColor { background-color: #B998DC; }
<div style="background-color:#B998DC">Inner text</div>
This div background color is #B998DC.
.myBorderColor { border: 1px solid #B998DC; }
<div style="border:3px solid #B998DC">Div</div>
This div border color is #B998DC.
.myOpacity80 { color: #B998DC; opacity: 0.8; }
<p style="color:#B998DC;opacity:0.8;">80%</p>
Text with #B998DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B998DC;}
<p style="text-shadow: 3px 3px 1px #B998DC">Text here.</p>
This text has shadow with #B998DC color.
.textShadow {text-shadow: 3px 3px 1px #B998DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B998DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B998DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B998DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B998DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B998DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B998DC; -webkit-box-shadow: 1px 1px 3px 2px #B998DC; box-shadow: 1px 1px 3px 2px #B998DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B998DC; -webkit-box-shadow: 1px 1px 3px 2px #B998DC; box-shadow:1px 1px 3px 2px #B998DC;">
Div content here</div>
This text has color #B998DC on black background.
This text has color #B998DC on white background.
This text has black color on #B998DC background.
This text has white color on #B998DC background.