HEX: #B4798B
RGB: (180,121,139)
#B4798B contains red, green and blue colors in about the same proportion. Web safe color of #B4798B is #CC6699 (or #C69).
#B4798B color RGB value is (180,121,139).
RGB: (180,121,139) (71%,47%,55%)
R 180 of 255 = 71%
G 121 of 255 = 47%
B 139 of 255 = 55%
R + G + B ~ 58%. #B4798B is middle color (not dark and not light).
R + G + B =
180 + 121 + 139 = 440 (100%)
R 180 of 440 ~ 40.91%
G 121 of 440 ~ 27.5%
B 139 of 440 ~ 31.59%
#B4798B color CMYK value is (0,33,23,29).
CMYK: (0,33,23,29) C0M33Y23K29 (0%,33%,23%,29%) (0.00/0.33/0.23/0.29)
B4 | 79 | 8B | |
---|---|---|---|
RGB | 180 | 121 | 139 |
HSL | 342° | 28.23% | 59.02% |
HSB/HSV | 342° | 32.78% | 70.59% |
CMYK | 0.00% | 32.78% | 22.78% |
29.41% |
HEX | B4 | 79 | 8B |
Decimal | 180 | 121 | 139 |
Binary | 10110100 | 1111001 | 10001011 |
Octal | 264 | 171 | 213 |
Examples of css and html codes for elements with #B4798B color. Also use rgb(180,121,139) instead hex code.
.myTextColor { color: #B4798B; }
<p style="color:#B4798B">This sample text font color is #B4798B.</p>
This text font color is #B4798B.
.myBgColor { background-color: #B4798B; }
<div style="background-color:#B4798B">Inner text</div>
This div background color is #B4798B.
.myBorderColor { border: 1px solid #B4798B; }
<div style="border:3px solid #B4798B">Div</div>
This div border color is #B4798B.
.myOpacity80 { color: #B4798B; opacity: 0.8; }
<p style="color:#B4798B;opacity:0.8;">80%</p>
Text with #B4798B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4798B;}
<p style="text-shadow: 3px 3px 1px #B4798B">Text here.</p>
This text has shadow with #B4798B color.
.textShadow {text-shadow: 3px 3px 1px #B4798B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4798B, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4798B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4798B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4798B, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4798B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4798B; -webkit-box-shadow: 1px 1px 3px 2px #B4798B; box-shadow: 1px 1px 3px 2px #B4798B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4798B; -webkit-box-shadow: 1px 1px 3px 2px #B4798B; box-shadow:1px 1px 3px 2px #B4798B;">
Div content here</div>
This text has color #B4798B on black background.
This text has color #B4798B on white background.
This text has black color on #B4798B background.
This text has white color on #B4798B background.