HEX: #B4B12E
RGB: (180,177,46)
#B4B12E contains mainly red and green colors. Web safe color of #B4B12E is #CC9933 (or #C93).
#B4B12E color RGB value is (180,177,46).
RGB: (180,177,46) (71%,69%,18%)
R 180 of 255 = 71%
G 177 of 255 = 69%
B 46 of 255 = 18%
R + G + B ~ 53%. #B4B12E is middle color (not dark and not light).
R + G + B =
180 + 177 + 46 = 403 (100%)
R 180 of 403 ~ 44.67%
G 177 of 403 ~ 43.92%
B 46 of 403 ~ 11.41%
#B4B12E color CMYK value is (0,2,74,29).
CMYK: (0,2,74,29) C0M2Y74K29 (0%,2%,74%,29%) (0.00/0.02/0.74/0.29)
B4 | B1 | 2E | |
---|---|---|---|
RGB | 180 | 177 | 46 |
HSL | 59° | 59.29% | 44.31% |
HSB/HSV | 59° | 74.44% | 70.59% |
CMYK | 0.00% | 1.67% | 74.44% |
29.41% |
HEX | B4 | B1 | 2E |
Decimal | 180 | 177 | 46 |
Binary | 10110100 | 10110001 | 101110 |
Octal | 264 | 261 | 56 |
Examples of css and html codes for elements with #B4B12E color. Also use rgb(180,177,46) instead hex code.
.myTextColor { color: #B4B12E; }
<p style="color:#B4B12E">This sample text font color is #B4B12E.</p>
This text font color is #B4B12E.
.myBgColor { background-color: #B4B12E; }
<div style="background-color:#B4B12E">Inner text</div>
This div background color is #B4B12E.
.myBorderColor { border: 1px solid #B4B12E; }
<div style="border:3px solid #B4B12E">Div</div>
This div border color is #B4B12E.
.myOpacity80 { color: #B4B12E; opacity: 0.8; }
<p style="color:#B4B12E;opacity:0.8;">80%</p>
Text with #B4B12E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4B12E;}
<p style="text-shadow: 3px 3px 1px #B4B12E">Text here.</p>
This text has shadow with #B4B12E color.
.textShadow {text-shadow: 3px 3px 1px #B4B12E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4B12E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4B12E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4B12E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4B12E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4B12E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4B12E; -webkit-box-shadow: 1px 1px 3px 2px #B4B12E; box-shadow: 1px 1px 3px 2px #B4B12E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4B12E; -webkit-box-shadow: 1px 1px 3px 2px #B4B12E; box-shadow:1px 1px 3px 2px #B4B12E;">
Div content here</div>
This text has color #B4B12E on black background.
This text has color #B4B12E on white background.
This text has black color on #B4B12E background.
This text has white color on #B4B12E background.