HEX: #B9717D
RGB: (185,113,125)
#B9717D contains mainly red color. Web safe color of #B9717D is #CC6666 (or #C66).
#B9717D color RGB value is (185,113,125).
RGB: (185,113,125) (73%,44%,49%)
R 185 of 255 = 73%
G 113 of 255 = 44%
B 125 of 255 = 49%
R + G + B ~ 55%. #B9717D is middle color (not dark and not light).
R + G + B =
185 + 113 + 125 = 423 (100%)
R 185 of 423 ~ 43.74%
G 113 of 423 ~ 26.71%
B 125 of 423 ~ 29.55%
#B9717D color CMYK value is (0,39,32,27).
CMYK: (0,39,32,27) C0M39Y32K27 (0%,39%,32%,27%) (0.00/0.39/0.32/0.27)
B9 | 71 | 7D | |
---|---|---|---|
RGB | 185 | 113 | 125 |
HSL | 350° | 33.96% | 58.43% |
HSB/HSV | 350° | 38.92% | 72.55% |
CMYK | 0.00% | 38.92% | 32.43% |
27.45% |
HEX | B9 | 71 | 7D |
Decimal | 185 | 113 | 125 |
Binary | 10111001 | 1110001 | 1111101 |
Octal | 271 | 161 | 175 |
Examples of css and html codes for elements with #B9717D color. Also use rgb(185,113,125) instead hex code.
.myTextColor { color: #B9717D; }
<p style="color:#B9717D">This sample text font color is #B9717D.</p>
This text font color is #B9717D.
.myBgColor { background-color: #B9717D; }
<div style="background-color:#B9717D">Inner text</div>
This div background color is #B9717D.
.myBorderColor { border: 1px solid #B9717D; }
<div style="border:3px solid #B9717D">Div</div>
This div border color is #B9717D.
.myOpacity80 { color: #B9717D; opacity: 0.8; }
<p style="color:#B9717D;opacity:0.8;">80%</p>
Text with #B9717D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9717D;}
<p style="text-shadow: 3px 3px 1px #B9717D">Text here.</p>
This text has shadow with #B9717D color.
.textShadow {text-shadow: 3px 3px 1px #B9717D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9717D, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9717D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9717D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9717D, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9717D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9717D; -webkit-box-shadow: 1px 1px 3px 2px #B9717D; box-shadow: 1px 1px 3px 2px #B9717D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9717D; -webkit-box-shadow: 1px 1px 3px 2px #B9717D; box-shadow:1px 1px 3px 2px #B9717D;">
Div content here</div>
This text has color #B9717D on black background.
This text has color #B9717D on white background.
This text has black color on #B9717D background.
This text has white color on #B9717D background.