HEX: #B2F6AB
RGB: (178,246,171)
#B2F6AB contains mainly green color. Web safe color of #B2F6AB is #99FF99 (or #9F9).
#B2F6AB color RGB value is (178,246,171).
RGB: (178,246,171) (70%,96%,67%)
R 178 of 255 = 70%
G 246 of 255 = 96%
B 171 of 255 = 67%
R + G + B ~ 78%. #B2F6AB is quite light color.
R + G + B =
178 + 246 + 171 = 595 (100%)
R 178 of 595 ~ 29.92%
G 246 of 595 ~ 41.34%
B 171 of 595 ~ 28.74%
#B2F6AB color CMYK value is (28,0,30,4).
CMYK: (28,0,30,4) C28M0Y30K4 (28%,0%,30%,4%) (0.28/0.00/0.30/0.04)
B2 | F6 | AB | |
---|---|---|---|
RGB | 178 | 246 | 171 |
HSL | 114° | 80.65% | 81.76% |
HSB/HSV | 114° | 30.49% | 96.47% |
CMYK | 27.64% | 0.00% | 30.49% |
3.53% |
HEX | B2 | F6 | AB |
Decimal | 178 | 246 | 171 |
Binary | 10110010 | 11110110 | 10101011 |
Octal | 262 | 366 | 253 |
Examples of css and html codes for elements with #B2F6AB color. Also use rgb(178,246,171) instead hex code.
.myTextColor { color: #B2F6AB; }
<p style="color:#B2F6AB">This sample text font color is #B2F6AB.</p>
This text font color is #B2F6AB.
.myBgColor { background-color: #B2F6AB; }
<div style="background-color:#B2F6AB">Inner text</div>
This div background color is #B2F6AB.
.myBorderColor { border: 1px solid #B2F6AB; }
<div style="border:3px solid #B2F6AB">Div</div>
This div border color is #B2F6AB.
.myOpacity80 { color: #B2F6AB; opacity: 0.8; }
<p style="color:#B2F6AB;opacity:0.8;">80%</p>
Text with #B2F6AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2F6AB;}
<p style="text-shadow: 3px 3px 1px #B2F6AB">Text here.</p>
This text has shadow with #B2F6AB color.
.textShadow {text-shadow: 3px 3px 1px #B2F6AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2F6AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2F6AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2F6AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2F6AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2F6AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2F6AB; -webkit-box-shadow: 1px 1px 3px 2px #B2F6AB; box-shadow: 1px 1px 3px 2px #B2F6AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2F6AB; -webkit-box-shadow: 1px 1px 3px 2px #B2F6AB; box-shadow:1px 1px 3px 2px #B2F6AB;">
Div content here</div>
This text has color #B2F6AB on black background.
This text has color #B2F6AB on white background.
This text has black color on #B2F6AB background.
This text has white color on #B2F6AB background.