HEX: #B4D845
RGB: (180,216,69)
#B4D845 contains mainly red and green colors. Web safe color of #B4D845 is #CCCC33 (or #CC3).
#B4D845 color RGB value is (180,216,69).
RGB: (180,216,69) (71%,85%,27%)
R 180 of 255 = 71%
G 216 of 255 = 85%
B 69 of 255 = 27%
R + G + B ~ 61%. #B4D845 is quite light color.
R + G + B =
180 + 216 + 69 = 465 (100%)
R 180 of 465 ~ 38.71%
G 216 of 465 ~ 46.45%
B 69 of 465 ~ 14.84%
#B4D845 color CMYK value is (17,0,68,15).
CMYK: (17,0,68,15) C17M0Y68K15 (17%,0%,68%,15%) (0.17/0.00/0.68/0.15)
B4 | D8 | 45 | |
---|---|---|---|
RGB | 180 | 216 | 69 |
HSL | 75° | 65.33% | 55.88% |
HSB/HSV | 75° | 68.06% | 84.71% |
CMYK | 16.67% | 0.00% | 68.06% |
15.29% |
HEX | B4 | D8 | 45 |
Decimal | 180 | 216 | 69 |
Binary | 10110100 | 11011000 | 1000101 |
Octal | 264 | 330 | 105 |
Examples of css and html codes for elements with #B4D845 color. Also use rgb(180,216,69) instead hex code.
.myTextColor { color: #B4D845; }
<p style="color:#B4D845">This sample text font color is #B4D845.</p>
This text font color is #B4D845.
.myBgColor { background-color: #B4D845; }
<div style="background-color:#B4D845">Inner text</div>
This div background color is #B4D845.
.myBorderColor { border: 1px solid #B4D845; }
<div style="border:3px solid #B4D845">Div</div>
This div border color is #B4D845.
.myOpacity80 { color: #B4D845; opacity: 0.8; }
<p style="color:#B4D845;opacity:0.8;">80%</p>
Text with #B4D845 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4D845;}
<p style="text-shadow: 3px 3px 1px #B4D845">Text here.</p>
This text has shadow with #B4D845 color.
.textShadow {text-shadow: 3px 3px 1px #B4D845, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4D845, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4D845 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4D845, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4D845, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4D845 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4D845; -webkit-box-shadow: 1px 1px 3px 2px #B4D845; box-shadow: 1px 1px 3px 2px #B4D845; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4D845; -webkit-box-shadow: 1px 1px 3px 2px #B4D845; box-shadow:1px 1px 3px 2px #B4D845;">
Div content here</div>
This text has color #B4D845 on black background.
This text has color #B4D845 on white background.
This text has black color on #B4D845 background.
This text has white color on #B4D845 background.