HEX: #B2D831
RGB: (178,216,49)
#B2D831 contains mainly red and green colors. Web safe color of #B2D831 is #99CC33 (or #9C3).
#B2D831 color RGB value is (178,216,49).
RGB: (178,216,49) (70%,85%,19%)
R 178 of 255 = 70%
G 216 of 255 = 85%
B 49 of 255 = 19%
R + G + B ~ 58%. #B2D831 is middle color (not dark and not light).
R + G + B =
178 + 216 + 49 = 443 (100%)
R 178 of 443 ~ 40.18%
G 216 of 443 ~ 48.76%
B 49 of 443 ~ 11.06%
#B2D831 color CMYK value is (18,0,77,15).
CMYK: (18,0,77,15) C18M0Y77K15 (18%,0%,77%,15%) (0.18/0.00/0.77/0.15)
B2 | D8 | 31 | |
---|---|---|---|
RGB | 178 | 216 | 49 |
HSL | 74° | 68.16% | 51.96% |
HSB/HSV | 74° | 77.31% | 84.71% |
CMYK | 17.59% | 0.00% | 77.31% |
15.29% |
HEX | B2 | D8 | 31 |
Decimal | 178 | 216 | 49 |
Binary | 10110010 | 11011000 | 110001 |
Octal | 262 | 330 | 61 |
Examples of css and html codes for elements with #B2D831 color. Also use rgb(178,216,49) instead hex code.
.myTextColor { color: #B2D831; }
<p style="color:#B2D831">This sample text font color is #B2D831.</p>
This text font color is #B2D831.
.myBgColor { background-color: #B2D831; }
<div style="background-color:#B2D831">Inner text</div>
This div background color is #B2D831.
.myBorderColor { border: 1px solid #B2D831; }
<div style="border:3px solid #B2D831">Div</div>
This div border color is #B2D831.
.myOpacity80 { color: #B2D831; opacity: 0.8; }
<p style="color:#B2D831;opacity:0.8;">80%</p>
Text with #B2D831 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2D831;}
<p style="text-shadow: 3px 3px 1px #B2D831">Text here.</p>
This text has shadow with #B2D831 color.
.textShadow {text-shadow: 3px 3px 1px #B2D831, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2D831, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2D831 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2D831, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2D831, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2D831 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2D831; -webkit-box-shadow: 1px 1px 3px 2px #B2D831; box-shadow: 1px 1px 3px 2px #B2D831; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2D831; -webkit-box-shadow: 1px 1px 3px 2px #B2D831; box-shadow:1px 1px 3px 2px #B2D831;">
Div content here</div>
This text has color #B2D831 on black background.
This text has color #B2D831 on white background.
This text has black color on #B2D831 background.
This text has white color on #B2D831 background.