HEX: #B9C46C
RGB: (185,196,108)
#B9C46C contains mainly red and green colors. Web safe color of #B9C46C is #CCCC66 (or #CC6).
#B9C46C color RGB value is (185,196,108).
RGB: (185,196,108) (73%,77%,42%)
R 185 of 255 = 73%
G 196 of 255 = 77%
B 108 of 255 = 42%
R + G + B ~ 64%. #B9C46C is quite light color.
R + G + B =
185 + 196 + 108 = 489 (100%)
R 185 of 489 ~ 37.83%
G 196 of 489 ~ 40.08%
B 108 of 489 ~ 22.09%
#B9C46C color CMYK value is (6,0,45,23).
CMYK: (6,0,45,23) C6M0Y45K23 (6%,0%,45%,23%) (0.06/0.00/0.45/0.23)
B9 | C4 | 6C | |
---|---|---|---|
RGB | 185 | 196 | 108 |
HSL | 68° | 42.72% | 59.61% |
HSB/HSV | 68° | 44.90% | 76.86% |
CMYK | 5.61% | 0.00% | 44.90% |
23.14% |
HEX | B9 | C4 | 6C |
Decimal | 185 | 196 | 108 |
Binary | 10111001 | 11000100 | 1101100 |
Octal | 271 | 304 | 154 |
Examples of css and html codes for elements with #B9C46C color. Also use rgb(185,196,108) instead hex code.
.myTextColor { color: #B9C46C; }
<p style="color:#B9C46C">This sample text font color is #B9C46C.</p>
This text font color is #B9C46C.
.myBgColor { background-color: #B9C46C; }
<div style="background-color:#B9C46C">Inner text</div>
This div background color is #B9C46C.
.myBorderColor { border: 1px solid #B9C46C; }
<div style="border:3px solid #B9C46C">Div</div>
This div border color is #B9C46C.
.myOpacity80 { color: #B9C46C; opacity: 0.8; }
<p style="color:#B9C46C;opacity:0.8;">80%</p>
Text with #B9C46C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9C46C;}
<p style="text-shadow: 3px 3px 1px #B9C46C">Text here.</p>
This text has shadow with #B9C46C color.
.textShadow {text-shadow: 3px 3px 1px #B9C46C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9C46C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9C46C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9C46C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9C46C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9C46C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9C46C; -webkit-box-shadow: 1px 1px 3px 2px #B9C46C; box-shadow: 1px 1px 3px 2px #B9C46C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9C46C; -webkit-box-shadow: 1px 1px 3px 2px #B9C46C; box-shadow:1px 1px 3px 2px #B9C46C;">
Div content here</div>
This text has color #B9C46C on black background.
This text has color #B9C46C on white background.
This text has black color on #B9C46C background.
This text has white color on #B9C46C background.