HEX: #B4C97B
RGB: (180,201,123)
#B4C97B contains mainly red and green colors. Web safe color of #B4C97B is #CCCC66 (or #CC6).
#B4C97B color RGB value is (180,201,123).
RGB: (180,201,123) (71%,79%,48%)
R 180 of 255 = 71%
G 201 of 255 = 79%
B 123 of 255 = 48%
R + G + B ~ 66%. #B4C97B is quite light color.
R + G + B =
180 + 201 + 123 = 504 (100%)
R 180 of 504 ~ 35.71%
G 201 of 504 ~ 39.88%
B 123 of 504 ~ 24.4%
#B4C97B color CMYK value is (10,0,39,21).
CMYK: (10,0,39,21) C10M0Y39K21 (10%,0%,39%,21%) (0.10/0.00/0.39/0.21)
B4 | C9 | 7B | |
---|---|---|---|
RGB | 180 | 201 | 123 |
HSL | 76° | 41.94% | 63.53% |
HSB/HSV | 76° | 38.81% | 78.82% |
CMYK | 10.45% | 0.00% | 38.81% |
21.18% |
HEX | B4 | C9 | 7B |
Decimal | 180 | 201 | 123 |
Binary | 10110100 | 11001001 | 1111011 |
Octal | 264 | 311 | 173 |
Examples of css and html codes for elements with #B4C97B color. Also use rgb(180,201,123) instead hex code.
.myTextColor { color: #B4C97B; }
<p style="color:#B4C97B">This sample text font color is #B4C97B.</p>
This text font color is #B4C97B.
.myBgColor { background-color: #B4C97B; }
<div style="background-color:#B4C97B">Inner text</div>
This div background color is #B4C97B.
.myBorderColor { border: 1px solid #B4C97B; }
<div style="border:3px solid #B4C97B">Div</div>
This div border color is #B4C97B.
.myOpacity80 { color: #B4C97B; opacity: 0.8; }
<p style="color:#B4C97B;opacity:0.8;">80%</p>
Text with #B4C97B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4C97B;}
<p style="text-shadow: 3px 3px 1px #B4C97B">Text here.</p>
This text has shadow with #B4C97B color.
.textShadow {text-shadow: 3px 3px 1px #B4C97B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4C97B, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4C97B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4C97B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4C97B, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4C97B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4C97B; -webkit-box-shadow: 1px 1px 3px 2px #B4C97B; box-shadow: 1px 1px 3px 2px #B4C97B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4C97B; -webkit-box-shadow: 1px 1px 3px 2px #B4C97B; box-shadow:1px 1px 3px 2px #B4C97B;">
Div content here</div>
This text has color #B4C97B on black background.
This text has color #B4C97B on white background.
This text has black color on #B4C97B background.
This text has white color on #B4C97B background.