HEX: #BB8A15
RGB: (187,138,21)
#BB8A15 contains mainly red and green colors. Web safe color of #BB8A15 is #CC9900 (or #C90).
#BB8A15 color RGB value is (187,138,21).
RGB: (187,138,21) (73%,54%,8%)
R 187 of 255 = 73%
G 138 of 255 = 54%
B 21 of 255 = 8%
R + G + B ~ 45%. #BB8A15 is middle color (not dark and not light).
R + G + B =
187 + 138 + 21 = 346 (100%)
R 187 of 346 ~ 54.05%
G 138 of 346 ~ 39.88%
B 21 of 346 ~ 6.07%
#BB8A15 color CMYK value is (0,26,89,27).
CMYK: (0,26,89,27) C0M26Y89K27 (0%,26%,89%,27%) (0.00/0.26/0.89/0.27)
BB | 8A | 15 | |
---|---|---|---|
RGB | 187 | 138 | 21 |
HSL | 42° | 79.81% | 40.78% |
HSB/HSV | 42° | 88.77% | 73.33% |
CMYK | 0.00% | 26.20% | 88.77% |
26.67% |
HEX | BB | 8A | 15 |
Decimal | 187 | 138 | 21 |
Binary | 10111011 | 10001010 | 10101 |
Octal | 273 | 212 | 25 |
Examples of css and html codes for elements with #BB8A15 color. Also use rgb(187,138,21) instead hex code.
.myTextColor { color: #BB8A15; }
<p style="color:#BB8A15">This sample text font color is #BB8A15.</p>
This text font color is #BB8A15.
.myBgColor { background-color: #BB8A15; }
<div style="background-color:#BB8A15">Inner text</div>
This div background color is #BB8A15.
.myBorderColor { border: 1px solid #BB8A15; }
<div style="border:3px solid #BB8A15">Div</div>
This div border color is #BB8A15.
.myOpacity80 { color: #BB8A15; opacity: 0.8; }
<p style="color:#BB8A15;opacity:0.8;">80%</p>
Text with #BB8A15 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BB8A15;}
<p style="text-shadow: 3px 3px 1px #BB8A15">Text here.</p>
This text has shadow with #BB8A15 color.
.textShadow {text-shadow: 3px 3px 1px #BB8A15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BB8A15, 5px 5px 20px red">Text here.</p>
This text has shadow with #BB8A15 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BB8A15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BB8A15, Direction=45, Strength=4)">Text</p>
This text has shadow with #BB8A15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BB8A15; -webkit-box-shadow: 1px 1px 3px 2px #BB8A15; box-shadow: 1px 1px 3px 2px #BB8A15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BB8A15; -webkit-box-shadow: 1px 1px 3px 2px #BB8A15; box-shadow:1px 1px 3px 2px #BB8A15;">
Div content here</div>
This text has color #BB8A15 on black background.
This text has color #BB8A15 on white background.
This text has black color on #BB8A15 background.
This text has white color on #BB8A15 background.