HEX: #B4E7AC
RGB: (180,231,172)
#B4E7AC contains red, green and blue colors in about the same proportion. Web safe color of #B4E7AC is #CCFF99 (or #CF9).
#B4E7AC color RGB value is (180,231,172).
RGB: (180,231,172) (71%,91%,67%)
R 180 of 255 = 71%
G 231 of 255 = 91%
B 172 of 255 = 67%
R + G + B ~ 76%. #B4E7AC is quite light color.
R + G + B =
180 + 231 + 172 = 583 (100%)
R 180 of 583 ~ 30.87%
G 231 of 583 ~ 39.62%
B 172 of 583 ~ 29.5%
#B4E7AC color CMYK value is (22,0,26,9).
CMYK: (22,0,26,9) C22M0Y26K9 (22%,0%,26%,9%) (0.22/0.00/0.26/0.09)
B4 | E7 | AC | |
---|---|---|---|
RGB | 180 | 231 | 172 |
HSL | 112° | 55.14% | 79.02% |
HSB/HSV | 112° | 25.54% | 90.59% |
CMYK | 22.08% | 0.00% | 25.54% |
9.41% |
HEX | B4 | E7 | AC |
Decimal | 180 | 231 | 172 |
Binary | 10110100 | 11100111 | 10101100 |
Octal | 264 | 347 | 254 |
Examples of css and html codes for elements with #B4E7AC color. Also use rgb(180,231,172) instead hex code.
.myTextColor { color: #B4E7AC; }
<p style="color:#B4E7AC">This sample text font color is #B4E7AC.</p>
This text font color is #B4E7AC.
.myBgColor { background-color: #B4E7AC; }
<div style="background-color:#B4E7AC">Inner text</div>
This div background color is #B4E7AC.
.myBorderColor { border: 1px solid #B4E7AC; }
<div style="border:3px solid #B4E7AC">Div</div>
This div border color is #B4E7AC.
.myOpacity80 { color: #B4E7AC; opacity: 0.8; }
<p style="color:#B4E7AC;opacity:0.8;">80%</p>
Text with #B4E7AC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4E7AC;}
<p style="text-shadow: 3px 3px 1px #B4E7AC">Text here.</p>
This text has shadow with #B4E7AC color.
.textShadow {text-shadow: 3px 3px 1px #B4E7AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4E7AC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4E7AC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4E7AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4E7AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4E7AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4E7AC; -webkit-box-shadow: 1px 1px 3px 2px #B4E7AC; box-shadow: 1px 1px 3px 2px #B4E7AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4E7AC; -webkit-box-shadow: 1px 1px 3px 2px #B4E7AC; box-shadow:1px 1px 3px 2px #B4E7AC;">
Div content here</div>
This text has color #B4E7AC on black background.
This text has color #B4E7AC on white background.
This text has black color on #B4E7AC background.
This text has white color on #B4E7AC background.