HEX: #B4C270
RGB: (180,194,112)
#B4C270 contains mainly red and green colors. Web safe color of #B4C270 is #CCCC66 (or #CC6).
#B4C270 color RGB value is (180,194,112).
RGB: (180,194,112) (71%,76%,44%)
R 180 of 255 = 71%
G 194 of 255 = 76%
B 112 of 255 = 44%
R + G + B ~ 64%. #B4C270 is quite light color.
R + G + B =
180 + 194 + 112 = 486 (100%)
R 180 of 486 ~ 37.04%
G 194 of 486 ~ 39.92%
B 112 of 486 ~ 23.05%
#B4C270 color CMYK value is (7,0,42,24).
CMYK: (7,0,42,24) C7M0Y42K24 (7%,0%,42%,24%) (0.07/0.00/0.42/0.24)
B4 | C2 | 70 | |
---|---|---|---|
RGB | 180 | 194 | 112 |
HSL | 70° | 40.20% | 60.00% |
HSB/HSV | 70° | 42.27% | 76.08% |
CMYK | 7.22% | 0.00% | 42.27% |
23.92% |
HEX | B4 | C2 | 70 |
Decimal | 180 | 194 | 112 |
Binary | 10110100 | 11000010 | 1110000 |
Octal | 264 | 302 | 160 |
Examples of css and html codes for elements with #B4C270 color. Also use rgb(180,194,112) instead hex code.
.myTextColor { color: #B4C270; }
<p style="color:#B4C270">This sample text font color is #B4C270.</p>
This text font color is #B4C270.
.myBgColor { background-color: #B4C270; }
<div style="background-color:#B4C270">Inner text</div>
This div background color is #B4C270.
.myBorderColor { border: 1px solid #B4C270; }
<div style="border:3px solid #B4C270">Div</div>
This div border color is #B4C270.
.myOpacity80 { color: #B4C270; opacity: 0.8; }
<p style="color:#B4C270;opacity:0.8;">80%</p>
Text with #B4C270 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4C270;}
<p style="text-shadow: 3px 3px 1px #B4C270">Text here.</p>
This text has shadow with #B4C270 color.
.textShadow {text-shadow: 3px 3px 1px #B4C270, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4C270, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4C270 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4C270, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4C270, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4C270 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4C270; -webkit-box-shadow: 1px 1px 3px 2px #B4C270; box-shadow: 1px 1px 3px 2px #B4C270; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4C270; -webkit-box-shadow: 1px 1px 3px 2px #B4C270; box-shadow:1px 1px 3px 2px #B4C270;">
Div content here</div>
This text has color #B4C270 on black background.
This text has color #B4C270 on white background.
This text has black color on #B4C270 background.
This text has white color on #B4C270 background.