HEX: #B4787C
RGB: (180,120,124)
#B4787C contains mainly red and blue colors. Web safe color of #B4787C is #CC6666 (or #C66).
#B4787C color RGB value is (180,120,124).
RGB: (180,120,124) (71%,47%,49%)
R 180 of 255 = 71%
G 120 of 255 = 47%
B 124 of 255 = 49%
R + G + B ~ 56%. #B4787C is middle color (not dark and not light).
R + G + B =
180 + 120 + 124 = 424 (100%)
R 180 of 424 ~ 42.45%
G 120 of 424 ~ 28.3%
B 124 of 424 ~ 29.25%
#B4787C color CMYK value is (0,33,31,29).
CMYK: (0,33,31,29) C0M33Y31K29 (0%,33%,31%,29%) (0.00/0.33/0.31/0.29)
B4 | 78 | 7C | |
---|---|---|---|
RGB | 180 | 120 | 124 |
HSL | 356° | 28.57% | 58.82% |
HSB/HSV | 356° | 33.33% | 70.59% |
CMYK | 0.00% | 33.33% | 31.11% |
29.41% |
HEX | B4 | 78 | 7C |
Decimal | 180 | 120 | 124 |
Binary | 10110100 | 1111000 | 1111100 |
Octal | 264 | 170 | 174 |
Examples of css and html codes for elements with #B4787C color. Also use rgb(180,120,124) instead hex code.
.myTextColor { color: #B4787C; }
<p style="color:#B4787C">This sample text font color is #B4787C.</p>
This text font color is #B4787C.
.myBgColor { background-color: #B4787C; }
<div style="background-color:#B4787C">Inner text</div>
This div background color is #B4787C.
.myBorderColor { border: 1px solid #B4787C; }
<div style="border:3px solid #B4787C">Div</div>
This div border color is #B4787C.
.myOpacity80 { color: #B4787C; opacity: 0.8; }
<p style="color:#B4787C;opacity:0.8;">80%</p>
Text with #B4787C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4787C;}
<p style="text-shadow: 3px 3px 1px #B4787C">Text here.</p>
This text has shadow with #B4787C color.
.textShadow {text-shadow: 3px 3px 1px #B4787C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4787C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4787C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4787C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4787C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4787C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4787C; -webkit-box-shadow: 1px 1px 3px 2px #B4787C; box-shadow: 1px 1px 3px 2px #B4787C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4787C; -webkit-box-shadow: 1px 1px 3px 2px #B4787C; box-shadow:1px 1px 3px 2px #B4787C;">
Div content here</div>
This text has color #B4787C on black background.
This text has color #B4787C on white background.
This text has black color on #B4787C background.
This text has white color on #B4787C background.