HEX: #B7A62E
RGB: (183,166,46)
#B7A62E contains mainly red and green colors. Web safe color of #B7A62E is #CC9933 (or #C93).
#B7A62E color RGB value is (183,166,46).
RGB: (183,166,46) (72%,65%,18%)
R 183 of 255 = 72%
G 166 of 255 = 65%
B 46 of 255 = 18%
R + G + B ~ 52%. #B7A62E is middle color (not dark and not light).
R + G + B =
183 + 166 + 46 = 395 (100%)
R 183 of 395 ~ 46.33%
G 166 of 395 ~ 42.03%
B 46 of 395 ~ 11.65%
#B7A62E color CMYK value is (0,9,75,28).
CMYK: (0,9,75,28) C0M9Y75K28 (0%,9%,75%,28%) (0.00/0.09/0.75/0.28)
B7 | A6 | 2E | |
---|---|---|---|
RGB | 183 | 166 | 46 |
HSL | 53° | 59.83% | 44.90% |
HSB/HSV | 53° | 74.86% | 71.76% |
CMYK | 0.00% | 9.29% | 74.86% |
28.24% |
HEX | B7 | A6 | 2E |
Decimal | 183 | 166 | 46 |
Binary | 10110111 | 10100110 | 101110 |
Octal | 267 | 246 | 56 |
Examples of css and html codes for elements with #B7A62E color. Also use rgb(183,166,46) instead hex code.
.myTextColor { color: #B7A62E; }
<p style="color:#B7A62E">This sample text font color is #B7A62E.</p>
This text font color is #B7A62E.
.myBgColor { background-color: #B7A62E; }
<div style="background-color:#B7A62E">Inner text</div>
This div background color is #B7A62E.
.myBorderColor { border: 1px solid #B7A62E; }
<div style="border:3px solid #B7A62E">Div</div>
This div border color is #B7A62E.
.myOpacity80 { color: #B7A62E; opacity: 0.8; }
<p style="color:#B7A62E;opacity:0.8;">80%</p>
Text with #B7A62E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B7A62E;}
<p style="text-shadow: 3px 3px 1px #B7A62E">Text here.</p>
This text has shadow with #B7A62E color.
.textShadow {text-shadow: 3px 3px 1px #B7A62E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B7A62E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B7A62E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B7A62E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B7A62E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B7A62E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B7A62E; -webkit-box-shadow: 1px 1px 3px 2px #B7A62E; box-shadow: 1px 1px 3px 2px #B7A62E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B7A62E; -webkit-box-shadow: 1px 1px 3px 2px #B7A62E; box-shadow:1px 1px 3px 2px #B7A62E;">
Div content here</div>
This text has color #B7A62E on black background.
This text has color #B7A62E on white background.
This text has black color on #B7A62E background.
This text has white color on #B7A62E background.