HEX: #D6A214
RGB: (214,162,20)
#D6A214 contains mainly red and green colors. Web safe color of #D6A214 is #CC9900 (or #C90).
#D6A214 color RGB value is (214,162,20).
RGB: (214,162,20) (84%,64%,8%)
R 214 of 255 = 84%
G 162 of 255 = 64%
B 20 of 255 = 8%
R + G + B ~ 52%. #D6A214 is middle color (not dark and not light).
R + G + B =
214 + 162 + 20 = 396 (100%)
R 214 of 396 ~ 54.04%
G 162 of 396 ~ 40.91%
B 20 of 396 ~ 5.05%
#D6A214 color CMYK value is (0,24,91,16).
CMYK: (0,24,91,16) C0M24Y91K16 (0%,24%,91%,16%) (0.00/0.24/0.91/0.16)
D6 | A2 | 14 | |
---|---|---|---|
RGB | 214 | 162 | 20 |
HSL | 44° | 82.91% | 45.88% |
HSB/HSV | 44° | 90.65% | 83.92% |
CMYK | 0.00% | 24.30% | 90.65% |
16.08% |
HEX | D6 | A2 | 14 |
Decimal | 214 | 162 | 20 |
Binary | 11010110 | 10100010 | 10100 |
Octal | 326 | 242 | 24 |
Examples of css and html codes for elements with #D6A214 color. Also use rgb(214,162,20) instead hex code.
.myTextColor { color: #D6A214; }
<p style="color:#D6A214">This sample text font color is #D6A214.</p>
This text font color is #D6A214.
.myBgColor { background-color: #D6A214; }
<div style="background-color:#D6A214">Inner text</div>
This div background color is #D6A214.
.myBorderColor { border: 1px solid #D6A214; }
<div style="border:3px solid #D6A214">Div</div>
This div border color is #D6A214.
.myOpacity80 { color: #D6A214; opacity: 0.8; }
<p style="color:#D6A214;opacity:0.8;">80%</p>
Text with #D6A214 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6A214;}
<p style="text-shadow: 3px 3px 1px #D6A214">Text here.</p>
This text has shadow with #D6A214 color.
.textShadow {text-shadow: 3px 3px 1px #D6A214, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6A214, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6A214 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6A214, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6A214, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6A214 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6A214; -webkit-box-shadow: 1px 1px 3px 2px #D6A214; box-shadow: 1px 1px 3px 2px #D6A214; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6A214; -webkit-box-shadow: 1px 1px 3px 2px #D6A214; box-shadow:1px 1px 3px 2px #D6A214;">
Div content here</div>
This text has color #D6A214 on black background.
This text has color #D6A214 on white background.
This text has black color on #D6A214 background.
This text has white color on #D6A214 background.