HEX: #B098FA
RGB: (176,152,250)
#B098FA contains mainly blue color. Web safe color of #B098FA is #9999FF (or #99F).
#B098FA color RGB value is (176,152,250).
RGB: (176,152,250) (69%,60%,98%)
R 176 of 255 = 69%
G 152 of 255 = 60%
B 250 of 255 = 98%
R + G + B ~ 76%. #B098FA is quite light color.
R + G + B =
176 + 152 + 250 = 578 (100%)
R 176 of 578 ~ 30.45%
G 152 of 578 ~ 26.3%
B 250 of 578 ~ 43.25%
#B098FA color CMYK value is (30,39,0,2).
CMYK: (30,39,0,2) C30M39Y0K2 (30%,39%,0%,2%) (0.30/0.39/0.00/0.02)
B0 | 98 | FA | |
---|---|---|---|
RGB | 176 | 152 | 250 |
HSL | 255° | 90.74% | 78.82% |
HSB/HSV | 255° | 39.20% | 98.04% |
CMYK | 29.60% | 39.20% | 0.00% |
1.96% |
HEX | B0 | 98 | FA |
Decimal | 176 | 152 | 250 |
Binary | 10110000 | 10011000 | 11111010 |
Octal | 260 | 230 | 372 |
Examples of css and html codes for elements with #B098FA color. Also use rgb(176,152,250) instead hex code.
.myTextColor { color: #B098FA; }
<p style="color:#B098FA">This sample text font color is #B098FA.</p>
This text font color is #B098FA.
.myBgColor { background-color: #B098FA; }
<div style="background-color:#B098FA">Inner text</div>
This div background color is #B098FA.
.myBorderColor { border: 1px solid #B098FA; }
<div style="border:3px solid #B098FA">Div</div>
This div border color is #B098FA.
.myOpacity80 { color: #B098FA; opacity: 0.8; }
<p style="color:#B098FA;opacity:0.8;">80%</p>
Text with #B098FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B098FA;}
<p style="text-shadow: 3px 3px 1px #B098FA">Text here.</p>
This text has shadow with #B098FA color.
.textShadow {text-shadow: 3px 3px 1px #B098FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B098FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B098FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B098FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B098FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B098FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B098FA; -webkit-box-shadow: 1px 1px 3px 2px #B098FA; box-shadow: 1px 1px 3px 2px #B098FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B098FA; -webkit-box-shadow: 1px 1px 3px 2px #B098FA; box-shadow:1px 1px 3px 2px #B098FA;">
Div content here</div>
This text has color #B098FA on black background.
This text has color #B098FA on white background.
This text has black color on #B098FA background.
This text has white color on #B098FA background.