HEX: #B17EBA
RGB: (177,126,186)
#B17EBA contains mainly red and blue colors. Web safe color of #B17EBA is #9966CC (or #96C).
#B17EBA color RGB value is (177,126,186).
RGB: (177,126,186) (69%,49%,73%)
R 177 of 255 = 69%
G 126 of 255 = 49%
B 186 of 255 = 73%
R + G + B ~ 64%. #B17EBA is quite light color.
R + G + B =
177 + 126 + 186 = 489 (100%)
R 177 of 489 ~ 36.2%
G 126 of 489 ~ 25.77%
B 186 of 489 ~ 38.04%
#B17EBA color CMYK value is (5,32,0,27).
CMYK: (5,32,0,27) C5M32Y0K27 (5%,32%,0%,27%) (0.05/0.32/0.00/0.27)
B1 | 7E | BA | |
---|---|---|---|
RGB | 177 | 126 | 186 |
HSL | 291° | 30.30% | 61.18% |
HSB/HSV | 291° | 32.26% | 72.94% |
CMYK | 4.84% | 32.26% | 0.00% |
27.06% |
HEX | B1 | 7E | BA |
Decimal | 177 | 126 | 186 |
Binary | 10110001 | 1111110 | 10111010 |
Octal | 261 | 176 | 272 |
Examples of css and html codes for elements with #B17EBA color. Also use rgb(177,126,186) instead hex code.
.myTextColor { color: #B17EBA; }
<p style="color:#B17EBA">This sample text font color is #B17EBA.</p>
This text font color is #B17EBA.
.myBgColor { background-color: #B17EBA; }
<div style="background-color:#B17EBA">Inner text</div>
This div background color is #B17EBA.
.myBorderColor { border: 1px solid #B17EBA; }
<div style="border:3px solid #B17EBA">Div</div>
This div border color is #B17EBA.
.myOpacity80 { color: #B17EBA; opacity: 0.8; }
<p style="color:#B17EBA;opacity:0.8;">80%</p>
Text with #B17EBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B17EBA;}
<p style="text-shadow: 3px 3px 1px #B17EBA">Text here.</p>
This text has shadow with #B17EBA color.
.textShadow {text-shadow: 3px 3px 1px #B17EBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B17EBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #B17EBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B17EBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B17EBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #B17EBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B17EBA; -webkit-box-shadow: 1px 1px 3px 2px #B17EBA; box-shadow: 1px 1px 3px 2px #B17EBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B17EBA; -webkit-box-shadow: 1px 1px 3px 2px #B17EBA; box-shadow:1px 1px 3px 2px #B17EBA;">
Div content here</div>
This text has color #B17EBA on black background.
This text has color #B17EBA on white background.
This text has black color on #B17EBA background.
This text has white color on #B17EBA background.