HEX: #BADB48
RGB: (186,219,72)
#BADB48 contains mainly red and green colors. Web safe color of #BADB48 is #CCCC33 (or #CC3).
#BADB48 color RGB value is (186,219,72).
RGB: (186,219,72) (73%,86%,28%)
R 186 of 255 = 73%
G 219 of 255 = 86%
B 72 of 255 = 28%
R + G + B ~ 62%. #BADB48 is quite light color.
R + G + B =
186 + 219 + 72 = 477 (100%)
R 186 of 477 ~ 38.99%
G 219 of 477 ~ 45.91%
B 72 of 477 ~ 15.09%
#BADB48 color CMYK value is (15,0,67,14).
CMYK: (15,0,67,14) C15M0Y67K14 (15%,0%,67%,14%) (0.15/0.00/0.67/0.14)
BA | DB | 48 | |
---|---|---|---|
RGB | 186 | 219 | 72 |
HSL | 73° | 67.12% | 57.06% |
HSB/HSV | 73° | 67.12% | 85.88% |
CMYK | 15.07% | 0.00% | 67.12% |
14.12% |
HEX | BA | DB | 48 |
Decimal | 186 | 219 | 72 |
Binary | 10111010 | 11011011 | 1001000 |
Octal | 272 | 333 | 110 |
Examples of css and html codes for elements with #BADB48 color. Also use rgb(186,219,72) instead hex code.
.myTextColor { color: #BADB48; }
<p style="color:#BADB48">This sample text font color is #BADB48.</p>
This text font color is #BADB48.
.myBgColor { background-color: #BADB48; }
<div style="background-color:#BADB48">Inner text</div>
This div background color is #BADB48.
.myBorderColor { border: 1px solid #BADB48; }
<div style="border:3px solid #BADB48">Div</div>
This div border color is #BADB48.
.myOpacity80 { color: #BADB48; opacity: 0.8; }
<p style="color:#BADB48;opacity:0.8;">80%</p>
Text with #BADB48 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BADB48;}
<p style="text-shadow: 3px 3px 1px #BADB48">Text here.</p>
This text has shadow with #BADB48 color.
.textShadow {text-shadow: 3px 3px 1px #BADB48, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BADB48, 5px 5px 20px red">Text here.</p>
This text has shadow with #BADB48 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BADB48, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BADB48, Direction=45, Strength=4)">Text</p>
This text has shadow with #BADB48 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BADB48; -webkit-box-shadow: 1px 1px 3px 2px #BADB48; box-shadow: 1px 1px 3px 2px #BADB48; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BADB48; -webkit-box-shadow: 1px 1px 3px 2px #BADB48; box-shadow:1px 1px 3px 2px #BADB48;">
Div content here</div>
This text has color #BADB48 on black background.
This text has color #BADB48 on white background.
This text has black color on #BADB48 background.
This text has white color on #BADB48 background.