HEX: #B2787F
RGB: (178,120,127)
#B2787F contains red, green and blue colors in about the same proportion. Web safe color of #B2787F is #996666 (or #966).
#B2787F color RGB value is (178,120,127).
RGB: (178,120,127) (70%,47%,50%)
R 178 of 255 = 70%
G 120 of 255 = 47%
B 127 of 255 = 50%
R + G + B ~ 56%. #B2787F is middle color (not dark and not light).
R + G + B =
178 + 120 + 127 = 425 (100%)
R 178 of 425 ~ 41.88%
G 120 of 425 ~ 28.24%
B 127 of 425 ~ 29.88%
#B2787F color CMYK value is (0,33,29,30).
CMYK: (0,33,29,30) C0M33Y29K30 (0%,33%,29%,30%) (0.00/0.33/0.29/0.30)
B2 | 78 | 7F | |
---|---|---|---|
RGB | 178 | 120 | 127 |
HSL | 353° | 27.36% | 58.43% |
HSB/HSV | 353° | 32.58% | 69.80% |
CMYK | 0.00% | 32.58% | 28.65% |
30.20% |
HEX | B2 | 78 | 7F |
Decimal | 178 | 120 | 127 |
Binary | 10110010 | 1111000 | 1111111 |
Octal | 262 | 170 | 177 |
Examples of css and html codes for elements with #B2787F color. Also use rgb(178,120,127) instead hex code.
.myTextColor { color: #B2787F; }
<p style="color:#B2787F">This sample text font color is #B2787F.</p>
This text font color is #B2787F.
.myBgColor { background-color: #B2787F; }
<div style="background-color:#B2787F">Inner text</div>
This div background color is #B2787F.
.myBorderColor { border: 1px solid #B2787F; }
<div style="border:3px solid #B2787F">Div</div>
This div border color is #B2787F.
.myOpacity80 { color: #B2787F; opacity: 0.8; }
<p style="color:#B2787F;opacity:0.8;">80%</p>
Text with #B2787F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2787F;}
<p style="text-shadow: 3px 3px 1px #B2787F">Text here.</p>
This text has shadow with #B2787F color.
.textShadow {text-shadow: 3px 3px 1px #B2787F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2787F, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2787F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2787F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2787F, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2787F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2787F; -webkit-box-shadow: 1px 1px 3px 2px #B2787F; box-shadow: 1px 1px 3px 2px #B2787F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2787F; -webkit-box-shadow: 1px 1px 3px 2px #B2787F; box-shadow:1px 1px 3px 2px #B2787F;">
Div content here</div>
This text has color #B2787F on black background.
This text has color #B2787F on white background.
This text has black color on #B2787F background.
This text has white color on #B2787F background.