HEX: #B97DF2
RGB: (185,125,242)
#B97DF2 contains mainly red and blue colors. Web safe color of #B97DF2 is #CC66FF (or #C6F).
#B97DF2 color RGB value is (185,125,242).
RGB: (185,125,242) (73%,49%,95%)
R 185 of 255 = 73%
G 125 of 255 = 49%
B 242 of 255 = 95%
R + G + B ~ 72%. #B97DF2 is quite light color.
R + G + B =
185 + 125 + 242 = 552 (100%)
R 185 of 552 ~ 33.51%
G 125 of 552 ~ 22.64%
B 242 of 552 ~ 43.84%
#B97DF2 color CMYK value is (24,48,0,5).
CMYK: (24,48,0,5) C24M48Y0K5 (24%,48%,0%,5%) (0.24/0.48/0.00/0.05)
B9 | 7D | F2 | |
---|---|---|---|
RGB | 185 | 125 | 242 |
HSL | 271° | 81.82% | 71.96% |
HSB/HSV | 271° | 48.35% | 94.90% |
CMYK | 23.55% | 48.35% | 0.00% |
5.10% |
HEX | B9 | 7D | F2 |
Decimal | 185 | 125 | 242 |
Binary | 10111001 | 1111101 | 11110010 |
Octal | 271 | 175 | 362 |
Examples of css and html codes for elements with #B97DF2 color. Also use rgb(185,125,242) instead hex code.
.myTextColor { color: #B97DF2; }
<p style="color:#B97DF2">This sample text font color is #B97DF2.</p>
This text font color is #B97DF2.
.myBgColor { background-color: #B97DF2; }
<div style="background-color:#B97DF2">Inner text</div>
This div background color is #B97DF2.
.myBorderColor { border: 1px solid #B97DF2; }
<div style="border:3px solid #B97DF2">Div</div>
This div border color is #B97DF2.
.myOpacity80 { color: #B97DF2; opacity: 0.8; }
<p style="color:#B97DF2;opacity:0.8;">80%</p>
Text with #B97DF2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B97DF2;}
<p style="text-shadow: 3px 3px 1px #B97DF2">Text here.</p>
This text has shadow with #B97DF2 color.
.textShadow {text-shadow: 3px 3px 1px #B97DF2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B97DF2, 5px 5px 20px red">Text here.</p>
This text has shadow with #B97DF2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B97DF2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B97DF2, Direction=45, Strength=4)">Text</p>
This text has shadow with #B97DF2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B97DF2; -webkit-box-shadow: 1px 1px 3px 2px #B97DF2; box-shadow: 1px 1px 3px 2px #B97DF2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B97DF2; -webkit-box-shadow: 1px 1px 3px 2px #B97DF2; box-shadow:1px 1px 3px 2px #B97DF2;">
Div content here</div>
This text has color #B97DF2 on black background.
This text has color #B97DF2 on white background.
This text has black color on #B97DF2 background.
This text has white color on #B97DF2 background.