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