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