HEX: #B4A766
RGB: (180,167,102)
#B4A766 contains mainly red and green colors. Web safe color of #B4A766 is #CC9966 (or #C96).
#B4A766 color RGB value is (180,167,102).
RGB: (180,167,102) (71%,65%,40%)
R 180 of 255 = 71%
G 167 of 255 = 65%
B 102 of 255 = 40%
R + G + B ~ 59%. #B4A766 is middle color (not dark and not light).
R + G + B =
180 + 167 + 102 = 449 (100%)
R 180 of 449 ~ 40.09%
G 167 of 449 ~ 37.19%
B 102 of 449 ~ 22.72%
#B4A766 color CMYK value is (0,7,43,29).
CMYK: (0,7,43,29) C0M7Y43K29 (0%,7%,43%,29%) (0.00/0.07/0.43/0.29)
B4 | A7 | 66 | |
---|---|---|---|
RGB | 180 | 167 | 102 |
HSL | 50° | 34.21% | 55.29% |
HSB/HSV | 50° | 43.33% | 70.59% |
CMYK | 0.00% | 7.22% | 43.33% |
29.41% |
HEX | B4 | A7 | 66 |
Decimal | 180 | 167 | 102 |
Binary | 10110100 | 10100111 | 1100110 |
Octal | 264 | 247 | 146 |
Examples of css and html codes for elements with #B4A766 color. Also use rgb(180,167,102) instead hex code.
.myTextColor { color: #B4A766; }
<p style="color:#B4A766">This sample text font color is #B4A766.</p>
This text font color is #B4A766.
.myBgColor { background-color: #B4A766; }
<div style="background-color:#B4A766">Inner text</div>
This div background color is #B4A766.
.myBorderColor { border: 1px solid #B4A766; }
<div style="border:3px solid #B4A766">Div</div>
This div border color is #B4A766.
.myOpacity80 { color: #B4A766; opacity: 0.8; }
<p style="color:#B4A766;opacity:0.8;">80%</p>
Text with #B4A766 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A766;}
<p style="text-shadow: 3px 3px 1px #B4A766">Text here.</p>
This text has shadow with #B4A766 color.
.textShadow {text-shadow: 3px 3px 1px #B4A766, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A766, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A766 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A766, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A766, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A766 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A766; -webkit-box-shadow: 1px 1px 3px 2px #B4A766; box-shadow: 1px 1px 3px 2px #B4A766; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A766; -webkit-box-shadow: 1px 1px 3px 2px #B4A766; box-shadow:1px 1px 3px 2px #B4A766;">
Div content here</div>
This text has color #B4A766 on black background.
This text has color #B4A766 on white background.
This text has black color on #B4A766 background.
This text has white color on #B4A766 background.