HEX: #B9D887
RGB: (185,216,135)
#B9D887 contains mainly red and green colors. Web safe color of #B9D887 is #CCCC99 (or #CC9).
#B9D887 color RGB value is (185,216,135).
RGB: (185,216,135) (73%,85%,53%)
R 185 of 255 = 73%
G 216 of 255 = 85%
B 135 of 255 = 53%
R + G + B ~ 70%. #B9D887 is quite light color.
R + G + B =
185 + 216 + 135 = 536 (100%)
R 185 of 536 ~ 34.51%
G 216 of 536 ~ 40.3%
B 135 of 536 ~ 25.19%
#B9D887 color CMYK value is (14,0,38,15).
CMYK: (14,0,38,15) C14M0Y38K15 (14%,0%,38%,15%) (0.14/0.00/0.38/0.15)
B9 | D8 | 87 | |
---|---|---|---|
RGB | 185 | 216 | 135 |
HSL | 83° | 50.94% | 68.82% |
HSB/HSV | 83° | 37.50% | 84.71% |
CMYK | 14.35% | 0.00% | 37.50% |
15.29% |
HEX | B9 | D8 | 87 |
Decimal | 185 | 216 | 135 |
Binary | 10111001 | 11011000 | 10000111 |
Octal | 271 | 330 | 207 |
Examples of css and html codes for elements with #B9D887 color. Also use rgb(185,216,135) instead hex code.
.myTextColor { color: #B9D887; }
<p style="color:#B9D887">This sample text font color is #B9D887.</p>
This text font color is #B9D887.
.myBgColor { background-color: #B9D887; }
<div style="background-color:#B9D887">Inner text</div>
This div background color is #B9D887.
.myBorderColor { border: 1px solid #B9D887; }
<div style="border:3px solid #B9D887">Div</div>
This div border color is #B9D887.
.myOpacity80 { color: #B9D887; opacity: 0.8; }
<p style="color:#B9D887;opacity:0.8;">80%</p>
Text with #B9D887 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9D887;}
<p style="text-shadow: 3px 3px 1px #B9D887">Text here.</p>
This text has shadow with #B9D887 color.
.textShadow {text-shadow: 3px 3px 1px #B9D887, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9D887, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9D887 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9D887, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9D887, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9D887 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9D887; -webkit-box-shadow: 1px 1px 3px 2px #B9D887; box-shadow: 1px 1px 3px 2px #B9D887; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9D887; -webkit-box-shadow: 1px 1px 3px 2px #B9D887; box-shadow:1px 1px 3px 2px #B9D887;">
Div content here</div>
This text has color #B9D887 on black background.
This text has color #B9D887 on white background.
This text has black color on #B9D887 background.
This text has white color on #B9D887 background.