HEX: #B4997E
RGB: (180,153,126)
#B4997E contains red, green and blue colors in about the same proportion. Web safe color of #B4997E is #CC9966 (or #C96).
#B4997E color RGB value is (180,153,126).
RGB: (180,153,126) (71%,60%,49%)
R 180 of 255 = 71%
G 153 of 255 = 60%
B 126 of 255 = 49%
R + G + B ~ 60%. #B4997E is middle color (not dark and not light).
R + G + B =
180 + 153 + 126 = 459 (100%)
R 180 of 459 ~ 39.22%
G 153 of 459 ~ 33.33%
B 126 of 459 ~ 27.45%
#B4997E color CMYK value is (0,15,30,29).
CMYK: (0,15,30,29) C0M15Y30K29 (0%,15%,30%,29%) (0.00/0.15/0.30/0.29)
B4 | 99 | 7E | |
---|---|---|---|
RGB | 180 | 153 | 126 |
HSL | 30° | 26.47% | 60.00% |
HSB/HSV | 30° | 30.00% | 70.59% |
CMYK | 0.00% | 15.00% | 30.00% |
29.41% |
HEX | B4 | 99 | 7E |
Decimal | 180 | 153 | 126 |
Binary | 10110100 | 10011001 | 1111110 |
Octal | 264 | 231 | 176 |
Examples of css and html codes for elements with #B4997E color. Also use rgb(180,153,126) instead hex code.
.myTextColor { color: #B4997E; }
<p style="color:#B4997E">This sample text font color is #B4997E.</p>
This text font color is #B4997E.
.myBgColor { background-color: #B4997E; }
<div style="background-color:#B4997E">Inner text</div>
This div background color is #B4997E.
.myBorderColor { border: 1px solid #B4997E; }
<div style="border:3px solid #B4997E">Div</div>
This div border color is #B4997E.
.myOpacity80 { color: #B4997E; opacity: 0.8; }
<p style="color:#B4997E;opacity:0.8;">80%</p>
Text with #B4997E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4997E;}
<p style="text-shadow: 3px 3px 1px #B4997E">Text here.</p>
This text has shadow with #B4997E color.
.textShadow {text-shadow: 3px 3px 1px #B4997E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4997E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4997E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4997E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4997E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4997E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4997E; -webkit-box-shadow: 1px 1px 3px 2px #B4997E; box-shadow: 1px 1px 3px 2px #B4997E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4997E; -webkit-box-shadow: 1px 1px 3px 2px #B4997E; box-shadow:1px 1px 3px 2px #B4997E;">
Div content here</div>
This text has color #B4997E on black background.
This text has color #B4997E on white background.
This text has black color on #B4997E background.
This text has white color on #B4997E background.