HEX: #B2B426
RGB: (178,180,38)
#B2B426 contains mainly red and green colors. Web safe color of #B2B426 is #99CC33 (or #9C3).
#B2B426 color RGB value is (178,180,38).
RGB: (178,180,38) (70%,71%,15%)
R 178 of 255 = 70%
G 180 of 255 = 71%
B 38 of 255 = 15%
R + G + B ~ 52%. #B2B426 is middle color (not dark and not light).
R + G + B =
178 + 180 + 38 = 396 (100%)
R 178 of 396 ~ 44.95%
G 180 of 396 ~ 45.45%
B 38 of 396 ~ 9.6%
#B2B426 color CMYK value is (1,0,79,29).
CMYK: (1,0,79,29) C1M0Y79K29 (1%,0%,79%,29%) (0.01/0.00/0.79/0.29)
B2 | B4 | 26 | |
---|---|---|---|
RGB | 178 | 180 | 38 |
HSL | 61° | 65.14% | 42.75% |
HSB/HSV | 61° | 78.89% | 70.59% |
CMYK | 1.11% | 0.00% | 78.89% |
29.41% |
HEX | B2 | B4 | 26 |
Decimal | 178 | 180 | 38 |
Binary | 10110010 | 10110100 | 100110 |
Octal | 262 | 264 | 46 |
Examples of css and html codes for elements with #B2B426 color. Also use rgb(178,180,38) instead hex code.
.myTextColor { color: #B2B426; }
<p style="color:#B2B426">This sample text font color is #B2B426.</p>
This text font color is #B2B426.
.myBgColor { background-color: #B2B426; }
<div style="background-color:#B2B426">Inner text</div>
This div background color is #B2B426.
.myBorderColor { border: 1px solid #B2B426; }
<div style="border:3px solid #B2B426">Div</div>
This div border color is #B2B426.
.myOpacity80 { color: #B2B426; opacity: 0.8; }
<p style="color:#B2B426;opacity:0.8;">80%</p>
Text with #B2B426 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2B426;}
<p style="text-shadow: 3px 3px 1px #B2B426">Text here.</p>
This text has shadow with #B2B426 color.
.textShadow {text-shadow: 3px 3px 1px #B2B426, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2B426, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2B426 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2B426, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2B426, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2B426 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2B426; -webkit-box-shadow: 1px 1px 3px 2px #B2B426; box-shadow: 1px 1px 3px 2px #B2B426; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2B426; -webkit-box-shadow: 1px 1px 3px 2px #B2B426; box-shadow:1px 1px 3px 2px #B2B426;">
Div content here</div>
This text has color #B2B426 on black background.
This text has color #B2B426 on white background.
This text has black color on #B2B426 background.
This text has white color on #B2B426 background.