HEX: #D6BD3B
RGB: (214,189,59)
#D6BD3B contains mainly red and green colors. Web safe color of #D6BD3B is #CCCC33 (or #CC3).
#D6BD3B color RGB value is (214,189,59).
RGB: (214,189,59) (84%,74%,23%)
R 214 of 255 = 84%
G 189 of 255 = 74%
B 59 of 255 = 23%
R + G + B ~ 60%. #D6BD3B is middle color (not dark and not light).
R + G + B =
214 + 189 + 59 = 462 (100%)
R 214 of 462 ~ 46.32%
G 189 of 462 ~ 40.91%
B 59 of 462 ~ 12.77%
#D6BD3B color CMYK value is (0,12,72,16).
CMYK: (0,12,72,16) C0M12Y72K16 (0%,12%,72%,16%) (0.00/0.12/0.72/0.16)
D6 | BD | 3B | |
---|---|---|---|
RGB | 214 | 189 | 59 |
HSL | 50° | 65.40% | 53.53% |
HSB/HSV | 50° | 72.43% | 83.92% |
CMYK | 0.00% | 11.68% | 72.43% |
16.08% |
HEX | D6 | BD | 3B |
Decimal | 214 | 189 | 59 |
Binary | 11010110 | 10111101 | 111011 |
Octal | 326 | 275 | 73 |
Examples of css and html codes for elements with #D6BD3B color. Also use rgb(214,189,59) instead hex code.
.myTextColor { color: #D6BD3B; }
<p style="color:#D6BD3B">This sample text font color is #D6BD3B.</p>
This text font color is #D6BD3B.
.myBgColor { background-color: #D6BD3B; }
<div style="background-color:#D6BD3B">Inner text</div>
This div background color is #D6BD3B.
.myBorderColor { border: 1px solid #D6BD3B; }
<div style="border:3px solid #D6BD3B">Div</div>
This div border color is #D6BD3B.
.myOpacity80 { color: #D6BD3B; opacity: 0.8; }
<p style="color:#D6BD3B;opacity:0.8;">80%</p>
Text with #D6BD3B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6BD3B;}
<p style="text-shadow: 3px 3px 1px #D6BD3B">Text here.</p>
This text has shadow with #D6BD3B color.
.textShadow {text-shadow: 3px 3px 1px #D6BD3B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6BD3B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6BD3B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6BD3B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6BD3B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6BD3B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6BD3B; -webkit-box-shadow: 1px 1px 3px 2px #D6BD3B; box-shadow: 1px 1px 3px 2px #D6BD3B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6BD3B; -webkit-box-shadow: 1px 1px 3px 2px #D6BD3B; box-shadow:1px 1px 3px 2px #D6BD3B;">
Div content here</div>
This text has color #D6BD3B on black background.
This text has color #D6BD3B on white background.
This text has black color on #D6BD3B background.
This text has white color on #D6BD3B background.