HEX: #B971EC
RGB: (185,113,236)
#B971EC contains mainly red and blue colors. Web safe color of #B971EC is #CC66FF (or #C6F).
#B971EC color RGB value is (185,113,236).
RGB: (185,113,236) (73%,44%,93%)
R 185 of 255 = 73%
G 113 of 255 = 44%
B 236 of 255 = 93%
R + G + B ~ 70%. #B971EC is quite light color.
R + G + B =
185 + 113 + 236 = 534 (100%)
R 185 of 534 ~ 34.64%
G 113 of 534 ~ 21.16%
B 236 of 534 ~ 44.19%
#B971EC color CMYK value is (22,52,0,7).
CMYK: (22,52,0,7) C22M52Y0K7 (22%,52%,0%,7%) (0.22/0.52/0.00/0.07)
B9 | 71 | EC | |
---|---|---|---|
RGB | 185 | 113 | 236 |
HSL | 275° | 76.40% | 68.43% |
HSB/HSV | 275° | 52.12% | 92.55% |
CMYK | 21.61% | 52.12% | 0.00% |
7.45% |
HEX | B9 | 71 | EC |
Decimal | 185 | 113 | 236 |
Binary | 10111001 | 1110001 | 11101100 |
Octal | 271 | 161 | 354 |
Examples of css and html codes for elements with #B971EC color. Also use rgb(185,113,236) instead hex code.
.myTextColor { color: #B971EC; }
<p style="color:#B971EC">This sample text font color is #B971EC.</p>
This text font color is #B971EC.
.myBgColor { background-color: #B971EC; }
<div style="background-color:#B971EC">Inner text</div>
This div background color is #B971EC.
.myBorderColor { border: 1px solid #B971EC; }
<div style="border:3px solid #B971EC">Div</div>
This div border color is #B971EC.
.myOpacity80 { color: #B971EC; opacity: 0.8; }
<p style="color:#B971EC;opacity:0.8;">80%</p>
Text with #B971EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B971EC;}
<p style="text-shadow: 3px 3px 1px #B971EC">Text here.</p>
This text has shadow with #B971EC color.
.textShadow {text-shadow: 3px 3px 1px #B971EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B971EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B971EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B971EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B971EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B971EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B971EC; -webkit-box-shadow: 1px 1px 3px 2px #B971EC; box-shadow: 1px 1px 3px 2px #B971EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B971EC; -webkit-box-shadow: 1px 1px 3px 2px #B971EC; box-shadow:1px 1px 3px 2px #B971EC;">
Div content here</div>
This text has color #B971EC on black background.
This text has color #B971EC on white background.
This text has black color on #B971EC background.
This text has white color on #B971EC background.