HEX: #D7DB6E
RGB: (215,219,110)
#D7DB6E contains mainly red and green colors. Web safe color of #D7DB6E is #CCCC66 (or #CC6).
#D7DB6E color RGB value is (215,219,110).
RGB: (215,219,110) (84%,86%,43%)
R 215 of 255 = 84%
G 219 of 255 = 86%
B 110 of 255 = 43%
R + G + B ~ 71%. #D7DB6E is quite light color.
R + G + B =
215 + 219 + 110 = 544 (100%)
R 215 of 544 ~ 39.52%
G 219 of 544 ~ 40.26%
B 110 of 544 ~ 20.22%
#D7DB6E color CMYK value is (2,0,50,14).
CMYK: (2,0,50,14) C2M0Y50K14 (2%,0%,50%,14%) (0.02/0.00/0.50/0.14)
D7 | DB | 6E | |
---|---|---|---|
RGB | 215 | 219 | 110 |
HSL | 62° | 60.22% | 64.51% |
HSB/HSV | 62° | 49.77% | 85.88% |
CMYK | 1.83% | 0.00% | 49.77% |
14.12% |
HEX | D7 | DB | 6E |
Decimal | 215 | 219 | 110 |
Binary | 11010111 | 11011011 | 1101110 |
Octal | 327 | 333 | 156 |
Examples of css and html codes for elements with #D7DB6E color. Also use rgb(215,219,110) instead hex code.
.myTextColor { color: #D7DB6E; }
<p style="color:#D7DB6E">This sample text font color is #D7DB6E.</p>
This text font color is #D7DB6E.
.myBgColor { background-color: #D7DB6E; }
<div style="background-color:#D7DB6E">Inner text</div>
This div background color is #D7DB6E.
.myBorderColor { border: 1px solid #D7DB6E; }
<div style="border:3px solid #D7DB6E">Div</div>
This div border color is #D7DB6E.
.myOpacity80 { color: #D7DB6E; opacity: 0.8; }
<p style="color:#D7DB6E;opacity:0.8;">80%</p>
Text with #D7DB6E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7DB6E;}
<p style="text-shadow: 3px 3px 1px #D7DB6E">Text here.</p>
This text has shadow with #D7DB6E color.
.textShadow {text-shadow: 3px 3px 1px #D7DB6E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7DB6E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7DB6E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7DB6E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7DB6E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7DB6E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7DB6E; -webkit-box-shadow: 1px 1px 3px 2px #D7DB6E; box-shadow: 1px 1px 3px 2px #D7DB6E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7DB6E; -webkit-box-shadow: 1px 1px 3px 2px #D7DB6E; box-shadow:1px 1px 3px 2px #D7DB6E;">
Div content here</div>
This text has color #D7DB6E on black background.
This text has color #D7DB6E on white background.
This text has black color on #D7DB6E background.
This text has white color on #D7DB6E background.