HEX: #B1B215
RGB: (177,178,21)
#B1B215 contains mainly red and green colors. Web safe color of #B1B215 is #999900 (or #990).
#B1B215 color RGB value is (177,178,21).
RGB: (177,178,21) (69%,70%,8%)
R 177 of 255 = 69%
G 178 of 255 = 70%
B 21 of 255 = 8%
R + G + B ~ 49%. #B1B215 is middle color (not dark and not light).
R + G + B =
177 + 178 + 21 = 376 (100%)
R 177 of 376 ~ 47.07%
G 178 of 376 ~ 47.34%
B 21 of 376 ~ 5.59%
#B1B215 color CMYK value is (1,0,88,30).
CMYK: (1,0,88,30) C1M0Y88K30 (1%,0%,88%,30%) (0.01/0.00/0.88/0.30)
B1 | B2 | 15 | |
---|---|---|---|
RGB | 177 | 178 | 21 |
HSL | 60° | 78.89% | 39.02% |
HSB/HSV | 60° | 88.20% | 69.80% |
CMYK | 0.56% | 0.00% | 88.20% |
30.20% |
HEX | B1 | B2 | 15 |
Decimal | 177 | 178 | 21 |
Binary | 10110001 | 10110010 | 10101 |
Octal | 261 | 262 | 25 |
Examples of css and html codes for elements with #B1B215 color. Also use rgb(177,178,21) instead hex code.
.myTextColor { color: #B1B215; }
<p style="color:#B1B215">This sample text font color is #B1B215.</p>
This text font color is #B1B215.
.myBgColor { background-color: #B1B215; }
<div style="background-color:#B1B215">Inner text</div>
This div background color is #B1B215.
.myBorderColor { border: 1px solid #B1B215; }
<div style="border:3px solid #B1B215">Div</div>
This div border color is #B1B215.
.myOpacity80 { color: #B1B215; opacity: 0.8; }
<p style="color:#B1B215;opacity:0.8;">80%</p>
Text with #B1B215 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B1B215;}
<p style="text-shadow: 3px 3px 1px #B1B215">Text here.</p>
This text has shadow with #B1B215 color.
.textShadow {text-shadow: 3px 3px 1px #B1B215, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B1B215, 5px 5px 20px red">Text here.</p>
This text has shadow with #B1B215 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B1B215, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B1B215, Direction=45, Strength=4)">Text</p>
This text has shadow with #B1B215 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B1B215; -webkit-box-shadow: 1px 1px 3px 2px #B1B215; box-shadow: 1px 1px 3px 2px #B1B215; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B1B215; -webkit-box-shadow: 1px 1px 3px 2px #B1B215; box-shadow:1px 1px 3px 2px #B1B215;">
Div content here</div>
This text has color #B1B215 on black background.
This text has color #B1B215 on white background.
This text has black color on #B1B215 background.
This text has white color on #B1B215 background.