HEX: #B6A915
RGB: (182,169,21)
#B6A915 contains mainly red and green colors. Web safe color of #B6A915 is #CC9900 (or #C90).
#B6A915 color RGB value is (182,169,21).
RGB: (182,169,21) (71%,66%,8%)
R 182 of 255 = 71%
G 169 of 255 = 66%
B 21 of 255 = 8%
R + G + B ~ 48%. #B6A915 is middle color (not dark and not light).
R + G + B =
182 + 169 + 21 = 372 (100%)
R 182 of 372 ~ 48.92%
G 169 of 372 ~ 45.43%
B 21 of 372 ~ 5.65%
#B6A915 color CMYK value is (0,7,88,29).
CMYK: (0,7,88,29) C0M7Y88K29 (0%,7%,88%,29%) (0.00/0.07/0.88/0.29)
B6 | A9 | 15 | |
---|---|---|---|
RGB | 182 | 169 | 21 |
HSL | 55° | 79.31% | 39.80% |
HSB/HSV | 55° | 88.46% | 71.37% |
CMYK | 0.00% | 7.14% | 88.46% |
28.63% |
HEX | B6 | A9 | 15 |
Decimal | 182 | 169 | 21 |
Binary | 10110110 | 10101001 | 10101 |
Octal | 266 | 251 | 25 |
Examples of css and html codes for elements with #B6A915 color. Also use rgb(182,169,21) instead hex code.
.myTextColor { color: #B6A915; }
<p style="color:#B6A915">This sample text font color is #B6A915.</p>
This text font color is #B6A915.
.myBgColor { background-color: #B6A915; }
<div style="background-color:#B6A915">Inner text</div>
This div background color is #B6A915.
.myBorderColor { border: 1px solid #B6A915; }
<div style="border:3px solid #B6A915">Div</div>
This div border color is #B6A915.
.myOpacity80 { color: #B6A915; opacity: 0.8; }
<p style="color:#B6A915;opacity:0.8;">80%</p>
Text with #B6A915 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B6A915;}
<p style="text-shadow: 3px 3px 1px #B6A915">Text here.</p>
This text has shadow with #B6A915 color.
.textShadow {text-shadow: 3px 3px 1px #B6A915, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B6A915, 5px 5px 20px red">Text here.</p>
This text has shadow with #B6A915 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B6A915, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B6A915, Direction=45, Strength=4)">Text</p>
This text has shadow with #B6A915 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B6A915; -webkit-box-shadow: 1px 1px 3px 2px #B6A915; box-shadow: 1px 1px 3px 2px #B6A915; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B6A915; -webkit-box-shadow: 1px 1px 3px 2px #B6A915; box-shadow:1px 1px 3px 2px #B6A915;">
Div content here</div>
This text has color #B6A915 on black background.
This text has color #B6A915 on white background.
This text has black color on #B6A915 background.
This text has white color on #B6A915 background.