HEX: #B2B51E
RGB: (178,181,30)
#B2B51E contains mainly red and green colors. Web safe color of #B2B51E is #99CC33 (or #9C3).
#B2B51E color RGB value is (178,181,30).
RGB: (178,181,30) (70%,71%,12%)
R 178 of 255 = 70%
G 181 of 255 = 71%
B 30 of 255 = 12%
R + G + B ~ 51%. #B2B51E is middle color (not dark and not light).
R + G + B =
178 + 181 + 30 = 389 (100%)
R 178 of 389 ~ 45.76%
G 181 of 389 ~ 46.53%
B 30 of 389 ~ 7.71%
#B2B51E color CMYK value is (2,0,83,29).
CMYK: (2,0,83,29) C2M0Y83K29 (2%,0%,83%,29%) (0.02/0.00/0.83/0.29)
B2 | B5 | 1E | |
---|---|---|---|
RGB | 178 | 181 | 30 |
HSL | 61° | 71.56% | 41.37% |
HSB/HSV | 61° | 83.43% | 70.98% |
CMYK | 1.66% | 0.00% | 83.43% |
29.02% |
HEX | B2 | B5 | 1E |
Decimal | 178 | 181 | 30 |
Binary | 10110010 | 10110101 | 11110 |
Octal | 262 | 265 | 36 |
Examples of css and html codes for elements with #B2B51E color. Also use rgb(178,181,30) instead hex code.
.myTextColor { color: #B2B51E; }
<p style="color:#B2B51E">This sample text font color is #B2B51E.</p>
This text font color is #B2B51E.
.myBgColor { background-color: #B2B51E; }
<div style="background-color:#B2B51E">Inner text</div>
This div background color is #B2B51E.
.myBorderColor { border: 1px solid #B2B51E; }
<div style="border:3px solid #B2B51E">Div</div>
This div border color is #B2B51E.
.myOpacity80 { color: #B2B51E; opacity: 0.8; }
<p style="color:#B2B51E;opacity:0.8;">80%</p>
Text with #B2B51E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2B51E;}
<p style="text-shadow: 3px 3px 1px #B2B51E">Text here.</p>
This text has shadow with #B2B51E color.
.textShadow {text-shadow: 3px 3px 1px #B2B51E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2B51E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2B51E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2B51E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2B51E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2B51E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2B51E; -webkit-box-shadow: 1px 1px 3px 2px #B2B51E; box-shadow: 1px 1px 3px 2px #B2B51E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2B51E; -webkit-box-shadow: 1px 1px 3px 2px #B2B51E; box-shadow:1px 1px 3px 2px #B2B51E;">
Div content here</div>
This text has color #B2B51E on black background.
This text has color #B2B51E on white background.
This text has black color on #B2B51E background.
This text has white color on #B2B51E background.