HEX: #D6C10C
RGB: (214,193,12)
#D6C10C contains mainly red and green colors. Web safe color of #D6C10C is #CCCC00 (or #CC0).
#D6C10C color RGB value is (214,193,12).
RGB: (214,193,12) (84%,76%,5%)
R 214 of 255 = 84%
G 193 of 255 = 76%
B 12 of 255 = 5%
R + G + B ~ 55%. #D6C10C is middle color (not dark and not light).
R + G + B =
214 + 193 + 12 = 419 (100%)
R 214 of 419 ~ 51.07%
G 193 of 419 ~ 46.06%
B 12 of 419 ~ 2.86%
#D6C10C color CMYK value is (0,10,94,16).
CMYK: (0,10,94,16) C0M10Y94K16 (0%,10%,94%,16%) (0.00/0.10/0.94/0.16)
D6 | C1 | 0C | |
---|---|---|---|
RGB | 214 | 193 | 12 |
HSL | 54° | 89.38% | 44.31% |
HSB/HSV | 54° | 94.39% | 83.92% |
CMYK | 0.00% | 9.81% | 94.39% |
16.08% |
HEX | D6 | C1 | 0C |
Decimal | 214 | 193 | 12 |
Binary | 11010110 | 11000001 | 1100 |
Octal | 326 | 301 | 14 |
Examples of css and html codes for elements with #D6C10C color. Also use rgb(214,193,12) instead hex code.
.myTextColor { color: #D6C10C; }
<p style="color:#D6C10C">This sample text font color is #D6C10C.</p>
This text font color is #D6C10C.
.myBgColor { background-color: #D6C10C; }
<div style="background-color:#D6C10C">Inner text</div>
This div background color is #D6C10C.
.myBorderColor { border: 1px solid #D6C10C; }
<div style="border:3px solid #D6C10C">Div</div>
This div border color is #D6C10C.
.myOpacity80 { color: #D6C10C; opacity: 0.8; }
<p style="color:#D6C10C;opacity:0.8;">80%</p>
Text with #D6C10C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6C10C;}
<p style="text-shadow: 3px 3px 1px #D6C10C">Text here.</p>
This text has shadow with #D6C10C color.
.textShadow {text-shadow: 3px 3px 1px #D6C10C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6C10C, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6C10C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6C10C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6C10C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6C10C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6C10C; -webkit-box-shadow: 1px 1px 3px 2px #D6C10C; box-shadow: 1px 1px 3px 2px #D6C10C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6C10C; -webkit-box-shadow: 1px 1px 3px 2px #D6C10C; box-shadow:1px 1px 3px 2px #D6C10C;">
Div content here</div>
This text has color #D6C10C on black background.
This text has color #D6C10C on white background.
This text has black color on #D6C10C background.
This text has white color on #D6C10C background.