HEX: #B2778C
RGB: (178,119,140)
#B2778C contains red, green and blue colors in about the same proportion. Web safe color of #B2778C is #996699 (or #969).
#B2778C color RGB value is (178,119,140).
RGB: (178,119,140) (70%,47%,55%)
R 178 of 255 = 70%
G 119 of 255 = 47%
B 140 of 255 = 55%
R + G + B ~ 57%. #B2778C is middle color (not dark and not light).
R + G + B =
178 + 119 + 140 = 437 (100%)
R 178 of 437 ~ 40.73%
G 119 of 437 ~ 27.23%
B 140 of 437 ~ 32.04%
#B2778C color CMYK value is (0,33,21,30).
CMYK: (0,33,21,30) C0M33Y21K30 (0%,33%,21%,30%) (0.00/0.33/0.21/0.30)
B2 | 77 | 8C | |
---|---|---|---|
RGB | 178 | 119 | 140 |
HSL | 339° | 27.70% | 58.24% |
HSB/HSV | 339° | 33.15% | 69.80% |
CMYK | 0.00% | 33.15% | 21.35% |
30.20% |
HEX | B2 | 77 | 8C |
Decimal | 178 | 119 | 140 |
Binary | 10110010 | 1110111 | 10001100 |
Octal | 262 | 167 | 214 |
Examples of css and html codes for elements with #B2778C color. Also use rgb(178,119,140) instead hex code.
.myTextColor { color: #B2778C; }
<p style="color:#B2778C">This sample text font color is #B2778C.</p>
This text font color is #B2778C.
.myBgColor { background-color: #B2778C; }
<div style="background-color:#B2778C">Inner text</div>
This div background color is #B2778C.
.myBorderColor { border: 1px solid #B2778C; }
<div style="border:3px solid #B2778C">Div</div>
This div border color is #B2778C.
.myOpacity80 { color: #B2778C; opacity: 0.8; }
<p style="color:#B2778C;opacity:0.8;">80%</p>
Text with #B2778C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2778C;}
<p style="text-shadow: 3px 3px 1px #B2778C">Text here.</p>
This text has shadow with #B2778C color.
.textShadow {text-shadow: 3px 3px 1px #B2778C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2778C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2778C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2778C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2778C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2778C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2778C; -webkit-box-shadow: 1px 1px 3px 2px #B2778C; box-shadow: 1px 1px 3px 2px #B2778C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2778C; -webkit-box-shadow: 1px 1px 3px 2px #B2778C; box-shadow:1px 1px 3px 2px #B2778C;">
Div content here</div>
This text has color #B2778C on black background.
This text has color #B2778C on white background.
This text has black color on #B2778C background.
This text has white color on #B2778C background.