HEX: #B2B001
RGB: (178,176,1)
#B2B001 contains mainly red and green colors. Web safe color of #B2B001 is #999900 (or #990).
#B2B001 color RGB value is (178,176,1).
RGB: (178,176,1) (70%,69%,0%)
R 178 of 255 = 70%
G 176 of 255 = 69%
B 1 of 255 = 0%
R + G + B ~ 46%. #B2B001 is middle color (not dark and not light).
R + G + B =
178 + 176 + 1 = 355 (100%)
R 178 of 355 ~ 50.14%
G 176 of 355 ~ 49.58%
B 1 of 355 ~ 0.28%
#B2B001 color CMYK value is (0,1,99,30).
CMYK: (0,1,99,30) C0M1Y99K30 (0%,1%,99%,30%) (0.00/0.01/0.99/0.30)
B2 | B0 | 01 | |
---|---|---|---|
RGB | 178 | 176 | 1 |
HSL | 59° | 98.88% | 35.10% |
HSB/HSV | 59° | 99.44% | 69.80% |
CMYK | 0.00% | 1.12% | 99.44% |
30.20% |
HEX | B2 | B0 | 01 |
Decimal | 178 | 176 | 1 |
Binary | 10110010 | 10110000 | 1 |
Octal | 262 | 260 | 1 |
Examples of css and html codes for elements with #B2B001 color. Also use rgb(178,176,1) instead hex code.
.myTextColor { color: #B2B001; }
<p style="color:#B2B001">This sample text font color is #B2B001.</p>
This text font color is #B2B001.
.myBgColor { background-color: #B2B001; }
<div style="background-color:#B2B001">Inner text</div>
This div background color is #B2B001.
.myBorderColor { border: 1px solid #B2B001; }
<div style="border:3px solid #B2B001">Div</div>
This div border color is #B2B001.
.myOpacity80 { color: #B2B001; opacity: 0.8; }
<p style="color:#B2B001;opacity:0.8;">80%</p>
Text with #B2B001 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2B001;}
<p style="text-shadow: 3px 3px 1px #B2B001">Text here.</p>
This text has shadow with #B2B001 color.
.textShadow {text-shadow: 3px 3px 1px #B2B001, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2B001, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2B001 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2B001, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2B001, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2B001 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2B001; -webkit-box-shadow: 1px 1px 3px 2px #B2B001; box-shadow: 1px 1px 3px 2px #B2B001; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2B001; -webkit-box-shadow: 1px 1px 3px 2px #B2B001; box-shadow:1px 1px 3px 2px #B2B001;">
Div content here</div>
This text has color #B2B001 on black background.
This text has color #B2B001 on white background.
This text has black color on #B2B001 background.
This text has white color on #B2B001 background.