HEX: #B2E278
RGB: (178,226,120)
#B2E278 contains mainly red and green colors. Web safe color of #B2E278 is #99CC66 (or #9C6).
#B2E278 color RGB value is (178,226,120).
RGB: (178,226,120) (70%,89%,47%)
R 178 of 255 = 70%
G 226 of 255 = 89%
B 120 of 255 = 47%
R + G + B ~ 69%. #B2E278 is quite light color.
R + G + B =
178 + 226 + 120 = 524 (100%)
R 178 of 524 ~ 33.97%
G 226 of 524 ~ 43.13%
B 120 of 524 ~ 22.9%
#B2E278 color CMYK value is (21,0,47,11).
CMYK: (21,0,47,11) C21M0Y47K11 (21%,0%,47%,11%) (0.21/0.00/0.47/0.11)
B2 | E2 | 78 | |
---|---|---|---|
RGB | 178 | 226 | 120 |
HSL | 87° | 64.63% | 67.84% |
HSB/HSV | 87° | 46.90% | 88.63% |
CMYK | 21.24% | 0.00% | 46.90% |
11.37% |
HEX | B2 | E2 | 78 |
Decimal | 178 | 226 | 120 |
Binary | 10110010 | 11100010 | 1111000 |
Octal | 262 | 342 | 170 |
Examples of css and html codes for elements with #B2E278 color. Also use rgb(178,226,120) instead hex code.
.myTextColor { color: #B2E278; }
<p style="color:#B2E278">This sample text font color is #B2E278.</p>
This text font color is #B2E278.
.myBgColor { background-color: #B2E278; }
<div style="background-color:#B2E278">Inner text</div>
This div background color is #B2E278.
.myBorderColor { border: 1px solid #B2E278; }
<div style="border:3px solid #B2E278">Div</div>
This div border color is #B2E278.
.myOpacity80 { color: #B2E278; opacity: 0.8; }
<p style="color:#B2E278;opacity:0.8;">80%</p>
Text with #B2E278 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2E278;}
<p style="text-shadow: 3px 3px 1px #B2E278">Text here.</p>
This text has shadow with #B2E278 color.
.textShadow {text-shadow: 3px 3px 1px #B2E278, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2E278, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2E278 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2E278, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2E278, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2E278 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2E278; -webkit-box-shadow: 1px 1px 3px 2px #B2E278; box-shadow: 1px 1px 3px 2px #B2E278; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2E278; -webkit-box-shadow: 1px 1px 3px 2px #B2E278; box-shadow:1px 1px 3px 2px #B2E278;">
Div content here</div>
This text has color #B2E278 on black background.
This text has color #B2E278 on white background.
This text has black color on #B2E278 background.
This text has white color on #B2E278 background.