HEX: #B4797C
RGB: (180,121,124)
#B4797C contains red, green and blue colors in about the same proportion. Web safe color of #B4797C is #CC6666 (or #C66).
#B4797C color RGB value is (180,121,124).
RGB: (180,121,124) (71%,47%,49%)
R 180 of 255 = 71%
G 121 of 255 = 47%
B 124 of 255 = 49%
R + G + B ~ 56%. #B4797C is middle color (not dark and not light).
R + G + B =
180 + 121 + 124 = 425 (100%)
R 180 of 425 ~ 42.35%
G 121 of 425 ~ 28.47%
B 124 of 425 ~ 29.18%
#B4797C 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 | 79 | 7C | |
---|---|---|---|
RGB | 180 | 121 | 124 |
HSL | 357° | 28.23% | 59.02% |
HSB/HSV | 357° | 32.78% | 70.59% |
CMYK | 0.00% | 32.78% | 31.11% |
29.41% |
HEX | B4 | 79 | 7C |
Decimal | 180 | 121 | 124 |
Binary | 10110100 | 1111001 | 1111100 |
Octal | 264 | 171 | 174 |
Examples of css and html codes for elements with #B4797C color. Also use rgb(180,121,124) instead hex code.
.myTextColor { color: #B4797C; }
<p style="color:#B4797C">This sample text font color is #B4797C.</p>
This text font color is #B4797C.
.myBgColor { background-color: #B4797C; }
<div style="background-color:#B4797C">Inner text</div>
This div background color is #B4797C.
.myBorderColor { border: 1px solid #B4797C; }
<div style="border:3px solid #B4797C">Div</div>
This div border color is #B4797C.
.myOpacity80 { color: #B4797C; opacity: 0.8; }
<p style="color:#B4797C;opacity:0.8;">80%</p>
Text with #B4797C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4797C;}
<p style="text-shadow: 3px 3px 1px #B4797C">Text here.</p>
This text has shadow with #B4797C color.
.textShadow {text-shadow: 3px 3px 1px #B4797C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4797C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4797C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4797C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4797C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4797C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4797C; -webkit-box-shadow: 1px 1px 3px 2px #B4797C; box-shadow: 1px 1px 3px 2px #B4797C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4797C; -webkit-box-shadow: 1px 1px 3px 2px #B4797C; box-shadow:1px 1px 3px 2px #B4797C;">
Div content here</div>
This text has color #B4797C on black background.
This text has color #B4797C on white background.
This text has black color on #B4797C background.
This text has white color on #B4797C background.