HEX: #B4D731
RGB: (180,215,49)
#B4D731 contains mainly red and green colors. Web safe color of #B4D731 is #CCCC33 (or #CC3).
#B4D731 color RGB value is (180,215,49).
RGB: (180,215,49)
(71%, 84%, 19%)
R 180 of 255 = 71%
G 215 of 255 = 84%
B 49 of 255 = 19%
R + G + B ~ 58%. #B4D731 is middle color (not dark and not light).
R + G + B = 180 + 215 + 49 = 444 (100%)
R 180 of 444 ~ 40.54%
G 215 of 444 ~ 48.42%
B 49 of 444 ~ 11.04'%
#B4D731 color CMYK value is (16,0,77,16).
CMYK: (16,0,77,16)
C16M0Y77K16 (16%, 0%, 77%, 16%)
(0.16 / 0.00 / 0.77 / 0.16)
Color #B4D731 in popluar color models
B4 | D7 | 31 | |
---|---|---|---|
RGB | 180 | 215 | 49 |
HSL | 73° | 67.48% | 51.76% |
HSB/HSV | 73° | 77.21% | 84.31% |
CMYK | 16.28% | 0.00% | 77.21% |
15.69% |
Color #B4D731 in popluar number systems.
HEX | B4 | D7 | 31 |
Decimal | 180 | 215 | 49 |
Binary | 10110100 | 11010111 | 110001 |
Octal | 264 | 327 | 61 |
Shades of #B4D731
Tints of #B4D731
Examples of css and html codes for elements with #B4D731 color. Also use rgb(180,215,49) instead hex code.
.myTextColor { color: #B4D731; }
<p style="color:#B4D731">This sample text font color is #B4D731.</p>
This text font color is #B4D731.
.myBgColor { background-color: #B4D731; }
<div style="background-color:#B4D731">Inner text</div>
This div background color is #B4D731.
.myBorderColor { border: 1px solid #B4D731; }
<div style="border:3px solid #B4D731">Div</div>
This div border color is #B4D731.
.myOpacity80 { color: #B4D731; opacity: 0.8; }
<p style="color:#B4D731;opacity:0.8;">80%</p>
Text with #B4D731 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4D731;}
<p style="text-shadow: 3px 3px 1px #B4D731">Text here.</p>
This text has shadow with #B4D731 color.
.textShadow {text-shadow: 3px 3px 1px #B4D731', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4D731, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4D731 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4D731, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4D731, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4D731 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #B4D731;
-webkit-box-shadow: 1px 1px 3px 2px #B4D731;
box-shadow: 1px 1px 3px 2px #B4D731;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #B4D731; -webkit-box-shadow: 1px 1px 3px 2px #B4D731; box-shadow:1px 1px 3px 2px #B4D731;">
Div content here
</div>
This text has color #B4D731 on black background.
This text has color #B4D731 on white background.
This text has black color on #B4D731 background.
This text has white color on #B4D731 background.
Complementary color for #hex is #4B28CE.