HEX: #D4BA3E
RGB: (212,186,62)
#D4BA3E contains mainly red and green colors. Web safe color of #D4BA3E is #CCCC33 (or #CC3).
#D4BA3E color RGB value is (212,186,62).
RGB: (212,186,62) (83%,73%,24%)
R 212 of 255 = 83%
G 186 of 255 = 73%
B 62 of 255 = 24%
R + G + B ~ 60%. #D4BA3E is middle color (not dark and not light).
R + G + B =
212 + 186 + 62 = 460 (100%)
R 212 of 460 ~ 46.09%
G 186 of 460 ~ 40.43%
B 62 of 460 ~ 13.48%
#D4BA3E color CMYK value is (0,12,71,17).
CMYK: (0,12,71,17) C0M12Y71K17 (0%,12%,71%,17%) (0.00/0.12/0.71/0.17)
D4 | BA | 3E | |
---|---|---|---|
RGB | 212 | 186 | 62 |
HSL | 50° | 63.56% | 53.73% |
HSB/HSV | 50° | 70.75% | 83.14% |
CMYK | 0.00% | 12.26% | 70.75% |
16.86% |
HEX | D4 | BA | 3E |
Decimal | 212 | 186 | 62 |
Binary | 11010100 | 10111010 | 111110 |
Octal | 324 | 272 | 76 |
Examples of css and html codes for elements with #D4BA3E color. Also use rgb(212,186,62) instead hex code.
.myTextColor { color: #D4BA3E; }
<p style="color:#D4BA3E">This sample text font color is #D4BA3E.</p>
This text font color is #D4BA3E.
.myBgColor { background-color: #D4BA3E; }
<div style="background-color:#D4BA3E">Inner text</div>
This div background color is #D4BA3E.
.myBorderColor { border: 1px solid #D4BA3E; }
<div style="border:3px solid #D4BA3E">Div</div>
This div border color is #D4BA3E.
.myOpacity80 { color: #D4BA3E; opacity: 0.8; }
<p style="color:#D4BA3E;opacity:0.8;">80%</p>
Text with #D4BA3E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4BA3E;}
<p style="text-shadow: 3px 3px 1px #D4BA3E">Text here.</p>
This text has shadow with #D4BA3E color.
.textShadow {text-shadow: 3px 3px 1px #D4BA3E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4BA3E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4BA3E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4BA3E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4BA3E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4BA3E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4BA3E; -webkit-box-shadow: 1px 1px 3px 2px #D4BA3E; box-shadow: 1px 1px 3px 2px #D4BA3E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4BA3E; -webkit-box-shadow: 1px 1px 3px 2px #D4BA3E; box-shadow:1px 1px 3px 2px #D4BA3E;">
Div content here</div>
This text has color #D4BA3E on black background.
This text has color #D4BA3E on white background.
This text has black color on #D4BA3E background.
This text has white color on #D4BA3E background.