HEX: #B4966C
RGB: (180,150,108)
#B4966C contains mainly red and green colors. Web safe color of #B4966C is #CC9966 (or #C96).
#B4966C color RGB value is (180,150,108).
RGB: (180,150,108) (71%,59%,42%)
R 180 of 255 = 71%
G 150 of 255 = 59%
B 108 of 255 = 42%
R + G + B ~ 57%. #B4966C is middle color (not dark and not light).
R + G + B =
180 + 150 + 108 = 438 (100%)
R 180 of 438 ~ 41.1%
G 150 of 438 ~ 34.25%
B 108 of 438 ~ 24.66%
#B4966C color CMYK value is (0,17,40,29).
CMYK: (0,17,40,29) C0M17Y40K29 (0%,17%,40%,29%) (0.00/0.17/0.40/0.29)
B4 | 96 | 6C | |
---|---|---|---|
RGB | 180 | 150 | 108 |
HSL | 35° | 32.43% | 56.47% |
HSB/HSV | 35° | 40.00% | 70.59% |
CMYK | 0.00% | 16.67% | 40.00% |
29.41% |
HEX | B4 | 96 | 6C |
Decimal | 180 | 150 | 108 |
Binary | 10110100 | 10010110 | 1101100 |
Octal | 264 | 226 | 154 |
Examples of css and html codes for elements with #B4966C color. Also use rgb(180,150,108) instead hex code.
.myTextColor { color: #B4966C; }
<p style="color:#B4966C">This sample text font color is #B4966C.</p>
This text font color is #B4966C.
.myBgColor { background-color: #B4966C; }
<div style="background-color:#B4966C">Inner text</div>
This div background color is #B4966C.
.myBorderColor { border: 1px solid #B4966C; }
<div style="border:3px solid #B4966C">Div</div>
This div border color is #B4966C.
.myOpacity80 { color: #B4966C; opacity: 0.8; }
<p style="color:#B4966C;opacity:0.8;">80%</p>
Text with #B4966C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4966C;}
<p style="text-shadow: 3px 3px 1px #B4966C">Text here.</p>
This text has shadow with #B4966C color.
.textShadow {text-shadow: 3px 3px 1px #B4966C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4966C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4966C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4966C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4966C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4966C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4966C; -webkit-box-shadow: 1px 1px 3px 2px #B4966C; box-shadow: 1px 1px 3px 2px #B4966C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4966C; -webkit-box-shadow: 1px 1px 3px 2px #B4966C; box-shadow:1px 1px 3px 2px #B4966C;">
Div content here</div>
This text has color #B4966C on black background.
This text has color #B4966C on white background.
This text has black color on #B4966C background.
This text has white color on #B4966C background.