HEX: #D7D999
RGB: (215,217,153)
#D7D999 contains mainly red and green colors. Web safe color of #D7D999 is #CCCC99 (or #CC9).
#D7D999 color RGB value is (215,217,153).
RGB: (215,217,153) (84%,85%,60%)
R 215 of 255 = 84%
G 217 of 255 = 85%
B 153 of 255 = 60%
R + G + B ~ 76%. #D7D999 is quite light color.
R + G + B =
215 + 217 + 153 = 585 (100%)
R 215 of 585 ~ 36.75%
G 217 of 585 ~ 37.09%
B 153 of 585 ~ 26.15%
#D7D999 color CMYK value is (1,0,29,15).
CMYK: (1,0,29,15) C1M0Y29K15 (1%,0%,29%,15%) (0.01/0.00/0.29/0.15)
D7 | D9 | 99 | |
---|---|---|---|
RGB | 215 | 217 | 153 |
HSL | 62° | 45.71% | 72.55% |
HSB/HSV | 62° | 29.49% | 85.10% |
CMYK | 0.92% | 0.00% | 29.49% |
14.90% |
HEX | D7 | D9 | 99 |
Decimal | 215 | 217 | 153 |
Binary | 11010111 | 11011001 | 10011001 |
Octal | 327 | 331 | 231 |
Examples of css and html codes for elements with #D7D999 color. Also use rgb(215,217,153) instead hex code.
.myTextColor { color: #D7D999; }
<p style="color:#D7D999">This sample text font color is #D7D999.</p>
This text font color is #D7D999.
.myBgColor { background-color: #D7D999; }
<div style="background-color:#D7D999">Inner text</div>
This div background color is #D7D999.
.myBorderColor { border: 1px solid #D7D999; }
<div style="border:3px solid #D7D999">Div</div>
This div border color is #D7D999.
.myOpacity80 { color: #D7D999; opacity: 0.8; }
<p style="color:#D7D999;opacity:0.8;">80%</p>
Text with #D7D999 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7D999;}
<p style="text-shadow: 3px 3px 1px #D7D999">Text here.</p>
This text has shadow with #D7D999 color.
.textShadow {text-shadow: 3px 3px 1px #D7D999, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7D999, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7D999 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7D999, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7D999, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7D999 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7D999; -webkit-box-shadow: 1px 1px 3px 2px #D7D999; box-shadow: 1px 1px 3px 2px #D7D999; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7D999; -webkit-box-shadow: 1px 1px 3px 2px #D7D999; box-shadow:1px 1px 3px 2px #D7D999;">
Div content here</div>
This text has color #D7D999 on black background.
This text has color #D7D999 on white background.
This text has black color on #D7D999 background.
This text has white color on #D7D999 background.