HEX: #B1B515
RGB: (177,181,21)
#B1B515 contains mainly red and green colors. Web safe color of #B1B515 is #99CC00 (or #9C0).
#B1B515 color RGB value is (177,181,21).
RGB: (177,181,21) (69%,71%,8%)
R 177 of 255 = 69%
G 181 of 255 = 71%
B 21 of 255 = 8%
R + G + B ~ 49%. #B1B515 is middle color (not dark and not light).
R + G + B =
177 + 181 + 21 = 379 (100%)
R 177 of 379 ~ 46.7%
G 181 of 379 ~ 47.76%
B 21 of 379 ~ 5.54%
#B1B515 color CMYK value is (2,0,88,29).
CMYK: (2,0,88,29) C2M0Y88K29 (2%,0%,88%,29%) (0.02/0.00/0.88/0.29)
B1 | B5 | 15 | |
---|---|---|---|
RGB | 177 | 181 | 21 |
HSL | 62° | 79.21% | 39.61% |
HSB/HSV | 62° | 88.40% | 70.98% |
CMYK | 2.21% | 0.00% | 88.40% |
29.02% |
HEX | B1 | B5 | 15 |
Decimal | 177 | 181 | 21 |
Binary | 10110001 | 10110101 | 10101 |
Octal | 261 | 265 | 25 |
Examples of css and html codes for elements with #B1B515 color. Also use rgb(177,181,21) instead hex code.
.myTextColor { color: #B1B515; }
<p style="color:#B1B515">This sample text font color is #B1B515.</p>
This text font color is #B1B515.
.myBgColor { background-color: #B1B515; }
<div style="background-color:#B1B515">Inner text</div>
This div background color is #B1B515.
.myBorderColor { border: 1px solid #B1B515; }
<div style="border:3px solid #B1B515">Div</div>
This div border color is #B1B515.
.myOpacity80 { color: #B1B515; opacity: 0.8; }
<p style="color:#B1B515;opacity:0.8;">80%</p>
Text with #B1B515 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B1B515;}
<p style="text-shadow: 3px 3px 1px #B1B515">Text here.</p>
This text has shadow with #B1B515 color.
.textShadow {text-shadow: 3px 3px 1px #B1B515, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B1B515, 5px 5px 20px red">Text here.</p>
This text has shadow with #B1B515 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B1B515, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B1B515, Direction=45, Strength=4)">Text</p>
This text has shadow with #B1B515 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B1B515; -webkit-box-shadow: 1px 1px 3px 2px #B1B515; box-shadow: 1px 1px 3px 2px #B1B515; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B1B515; -webkit-box-shadow: 1px 1px 3px 2px #B1B515; box-shadow:1px 1px 3px 2px #B1B515;">
Div content here</div>
This text has color #B1B515 on black background.
This text has color #B1B515 on white background.
This text has black color on #B1B515 background.
This text has white color on #B1B515 background.