HEX: #B17D9E
RGB: (177,125,158)
#B17D9E contains red, green and blue colors in about the same proportion. Web safe color of #B17D9E is #996699 (or #969).
#B17D9E color RGB value is (177,125,158).
RGB: (177,125,158) (69%,49%,62%)
R 177 of 255 = 69%
G 125 of 255 = 49%
B 158 of 255 = 62%
R + G + B ~ 60%. #B17D9E is middle color (not dark and not light).
R + G + B =
177 + 125 + 158 = 460 (100%)
R 177 of 460 ~ 38.48%
G 125 of 460 ~ 27.17%
B 158 of 460 ~ 34.35%
#B17D9E color CMYK value is (0,29,11,31).
CMYK: (0,29,11,31) C0M29Y11K31 (0%,29%,11%,31%) (0.00/0.29/0.11/0.31)
B1 | 7D | 9E | |
---|---|---|---|
RGB | 177 | 125 | 158 |
HSL | 322° | 25.00% | 59.22% |
HSB/HSV | 322° | 29.38% | 69.41% |
CMYK | 0.00% | 29.38% | 10.73% |
30.59% |
HEX | B1 | 7D | 9E |
Decimal | 177 | 125 | 158 |
Binary | 10110001 | 1111101 | 10011110 |
Octal | 261 | 175 | 236 |
Examples of css and html codes for elements with #B17D9E color. Also use rgb(177,125,158) instead hex code.
.myTextColor { color: #B17D9E; }
<p style="color:#B17D9E">This sample text font color is #B17D9E.</p>
This text font color is #B17D9E.
.myBgColor { background-color: #B17D9E; }
<div style="background-color:#B17D9E">Inner text</div>
This div background color is #B17D9E.
.myBorderColor { border: 1px solid #B17D9E; }
<div style="border:3px solid #B17D9E">Div</div>
This div border color is #B17D9E.
.myOpacity80 { color: #B17D9E; opacity: 0.8; }
<p style="color:#B17D9E;opacity:0.8;">80%</p>
Text with #B17D9E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B17D9E;}
<p style="text-shadow: 3px 3px 1px #B17D9E">Text here.</p>
This text has shadow with #B17D9E color.
.textShadow {text-shadow: 3px 3px 1px #B17D9E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B17D9E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B17D9E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B17D9E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B17D9E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B17D9E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B17D9E; -webkit-box-shadow: 1px 1px 3px 2px #B17D9E; box-shadow: 1px 1px 3px 2px #B17D9E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B17D9E; -webkit-box-shadow: 1px 1px 3px 2px #B17D9E; box-shadow:1px 1px 3px 2px #B17D9E;">
Div content here</div>
This text has color #B17D9E on black background.
This text has color #B17D9E on white background.
This text has black color on #B17D9E background.
This text has white color on #B17D9E background.