HEX: #B2D474
RGB: (178,212,116)
#B2D474 contains mainly red and green colors. Web safe color of #B2D474 is #99CC66 (or #9C6).
#B2D474 color RGB value is (178,212,116).
RGB: (178,212,116) (70%,83%,45%)
R 178 of 255 = 70%
G 212 of 255 = 83%
B 116 of 255 = 45%
R + G + B ~ 66%. #B2D474 is quite light color.
R + G + B =
178 + 212 + 116 = 506 (100%)
R 178 of 506 ~ 35.18%
G 212 of 506 ~ 41.9%
B 116 of 506 ~ 22.92%
#B2D474 color CMYK value is (16,0,45,17).
CMYK: (16,0,45,17) C16M0Y45K17 (16%,0%,45%,17%) (0.16/0.00/0.45/0.17)
B2 | D4 | 74 | |
---|---|---|---|
RGB | 178 | 212 | 116 |
HSL | 81° | 52.75% | 64.31% |
HSB/HSV | 81° | 45.28% | 83.14% |
CMYK | 16.04% | 0.00% | 45.28% |
16.86% |
HEX | B2 | D4 | 74 |
Decimal | 178 | 212 | 116 |
Binary | 10110010 | 11010100 | 1110100 |
Octal | 262 | 324 | 164 |
Examples of css and html codes for elements with #B2D474 color. Also use rgb(178,212,116) instead hex code.
.myTextColor { color: #B2D474; }
<p style="color:#B2D474">This sample text font color is #B2D474.</p>
This text font color is #B2D474.
.myBgColor { background-color: #B2D474; }
<div style="background-color:#B2D474">Inner text</div>
This div background color is #B2D474.
.myBorderColor { border: 1px solid #B2D474; }
<div style="border:3px solid #B2D474">Div</div>
This div border color is #B2D474.
.myOpacity80 { color: #B2D474; opacity: 0.8; }
<p style="color:#B2D474;opacity:0.8;">80%</p>
Text with #B2D474 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2D474;}
<p style="text-shadow: 3px 3px 1px #B2D474">Text here.</p>
This text has shadow with #B2D474 color.
.textShadow {text-shadow: 3px 3px 1px #B2D474, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2D474, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2D474 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2D474, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2D474, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2D474 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2D474; -webkit-box-shadow: 1px 1px 3px 2px #B2D474; box-shadow: 1px 1px 3px 2px #B2D474; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2D474; -webkit-box-shadow: 1px 1px 3px 2px #B2D474; box-shadow:1px 1px 3px 2px #B2D474;">
Div content here</div>
This text has color #B2D474 on black background.
This text has color #B2D474 on white background.
This text has black color on #B2D474 background.
This text has white color on #B2D474 background.