HEX: #BBA514
RGB: (187,165,20)
#BBA514 contains mainly red and green colors. Web safe color of #BBA514 is #CC9900 (or #C90).
#BBA514 color RGB value is (187,165,20).
RGB: (187,165,20) (73%,65%,8%)
R 187 of 255 = 73%
G 165 of 255 = 65%
B 20 of 255 = 8%
R + G + B ~ 49%. #BBA514 is middle color (not dark and not light).
R + G + B =
187 + 165 + 20 = 372 (100%)
R 187 of 372 ~ 50.27%
G 165 of 372 ~ 44.35%
B 20 of 372 ~ 5.38%
#BBA514 color CMYK value is (0,12,89,27).
CMYK: (0,12,89,27) C0M12Y89K27 (0%,12%,89%,27%) (0.00/0.12/0.89/0.27)
BB | A5 | 14 | |
---|---|---|---|
RGB | 187 | 165 | 20 |
HSL | 52° | 80.68% | 40.59% |
HSB/HSV | 52° | 89.30% | 73.33% |
CMYK | 0.00% | 11.76% | 89.30% |
26.67% |
HEX | BB | A5 | 14 |
Decimal | 187 | 165 | 20 |
Binary | 10111011 | 10100101 | 10100 |
Octal | 273 | 245 | 24 |
Examples of css and html codes for elements with #BBA514 color. Also use rgb(187,165,20) instead hex code.
.myTextColor { color: #BBA514; }
<p style="color:#BBA514">This sample text font color is #BBA514.</p>
This text font color is #BBA514.
.myBgColor { background-color: #BBA514; }
<div style="background-color:#BBA514">Inner text</div>
This div background color is #BBA514.
.myBorderColor { border: 1px solid #BBA514; }
<div style="border:3px solid #BBA514">Div</div>
This div border color is #BBA514.
.myOpacity80 { color: #BBA514; opacity: 0.8; }
<p style="color:#BBA514;opacity:0.8;">80%</p>
Text with #BBA514 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BBA514;}
<p style="text-shadow: 3px 3px 1px #BBA514">Text here.</p>
This text has shadow with #BBA514 color.
.textShadow {text-shadow: 3px 3px 1px #BBA514, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BBA514, 5px 5px 20px red">Text here.</p>
This text has shadow with #BBA514 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BBA514, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BBA514, Direction=45, Strength=4)">Text</p>
This text has shadow with #BBA514 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BBA514; -webkit-box-shadow: 1px 1px 3px 2px #BBA514; box-shadow: 1px 1px 3px 2px #BBA514; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BBA514; -webkit-box-shadow: 1px 1px 3px 2px #BBA514; box-shadow:1px 1px 3px 2px #BBA514;">
Div content here</div>
This text has color #BBA514 on black background.
This text has color #BBA514 on white background.
This text has black color on #BBA514 background.
This text has white color on #BBA514 background.