HEX: #BDC912
RGB: (189,201,18)
#BDC912 contains mainly red and green colors. Web safe color of #BDC912 is #CCCC00 (or #CC0).
#BDC912 color RGB value is (189,201,18).
RGB: (189,201,18) (74%,79%,7%)
R 189 of 255 = 74%
G 201 of 255 = 79%
B 18 of 255 = 7%
R + G + B ~ 53%. #BDC912 is middle color (not dark and not light).
R + G + B =
189 + 201 + 18 = 408 (100%)
R 189 of 408 ~ 46.32%
G 201 of 408 ~ 49.26%
B 18 of 408 ~ 4.41%
#BDC912 color CMYK value is (6,0,91,21).
CMYK: (6,0,91,21) C6M0Y91K21 (6%,0%,91%,21%) (0.06/0.00/0.91/0.21)
BD | C9 | 12 | |
---|---|---|---|
RGB | 189 | 201 | 18 |
HSL | 64° | 83.56% | 42.94% |
HSB/HSV | 64° | 91.04% | 78.82% |
CMYK | 5.97% | 0.00% | 91.04% |
21.18% |
HEX | BD | C9 | 12 |
Decimal | 189 | 201 | 18 |
Binary | 10111101 | 11001001 | 10010 |
Octal | 275 | 311 | 22 |
Examples of css and html codes for elements with #BDC912 color. Also use rgb(189,201,18) instead hex code.
.myTextColor { color: #BDC912; }
<p style="color:#BDC912">This sample text font color is #BDC912.</p>
This text font color is #BDC912.
.myBgColor { background-color: #BDC912; }
<div style="background-color:#BDC912">Inner text</div>
This div background color is #BDC912.
.myBorderColor { border: 1px solid #BDC912; }
<div style="border:3px solid #BDC912">Div</div>
This div border color is #BDC912.
.myOpacity80 { color: #BDC912; opacity: 0.8; }
<p style="color:#BDC912;opacity:0.8;">80%</p>
Text with #BDC912 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BDC912;}
<p style="text-shadow: 3px 3px 1px #BDC912">Text here.</p>
This text has shadow with #BDC912 color.
.textShadow {text-shadow: 3px 3px 1px #BDC912, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BDC912, 5px 5px 20px red">Text here.</p>
This text has shadow with #BDC912 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BDC912, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BDC912, Direction=45, Strength=4)">Text</p>
This text has shadow with #BDC912 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BDC912; -webkit-box-shadow: 1px 1px 3px 2px #BDC912; box-shadow: 1px 1px 3px 2px #BDC912; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BDC912; -webkit-box-shadow: 1px 1px 3px 2px #BDC912; box-shadow:1px 1px 3px 2px #BDC912;">
Div content here</div>
This text has color #BDC912 on black background.
This text has color #BDC912 on white background.
This text has black color on #BDC912 background.
This text has white color on #BDC912 background.