HEX: #D7C87D
RGB: (215,200,125)
#D7C87D contains mainly red and green colors. Web safe color of #D7C87D is #CCCC66 (or #CC6).
#D7C87D color RGB value is (215,200,125).
RGB: (215,200,125) (84%,78%,49%)
R 215 of 255 = 84%
G 200 of 255 = 78%
B 125 of 255 = 49%
R + G + B ~ 70%. #D7C87D is quite light color.
R + G + B =
215 + 200 + 125 = 540 (100%)
R 215 of 540 ~ 39.81%
G 200 of 540 ~ 37.04%
B 125 of 540 ~ 23.15%
#D7C87D color CMYK value is (0,7,42,16).
CMYK: (0,7,42,16) C0M7Y42K16 (0%,7%,42%,16%) (0.00/0.07/0.42/0.16)
D7 | C8 | 7D | |
---|---|---|---|
RGB | 215 | 200 | 125 |
HSL | 50° | 52.94% | 66.67% |
HSB/HSV | 50° | 41.86% | 84.31% |
CMYK | 0.00% | 6.98% | 41.86% |
15.69% |
HEX | D7 | C8 | 7D |
Decimal | 215 | 200 | 125 |
Binary | 11010111 | 11001000 | 1111101 |
Octal | 327 | 310 | 175 |
Examples of css and html codes for elements with #D7C87D color. Also use rgb(215,200,125) instead hex code.
.myTextColor { color: #D7C87D; }
<p style="color:#D7C87D">This sample text font color is #D7C87D.</p>
This text font color is #D7C87D.
.myBgColor { background-color: #D7C87D; }
<div style="background-color:#D7C87D">Inner text</div>
This div background color is #D7C87D.
.myBorderColor { border: 1px solid #D7C87D; }
<div style="border:3px solid #D7C87D">Div</div>
This div border color is #D7C87D.
.myOpacity80 { color: #D7C87D; opacity: 0.8; }
<p style="color:#D7C87D;opacity:0.8;">80%</p>
Text with #D7C87D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7C87D;}
<p style="text-shadow: 3px 3px 1px #D7C87D">Text here.</p>
This text has shadow with #D7C87D color.
.textShadow {text-shadow: 3px 3px 1px #D7C87D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7C87D, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7C87D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7C87D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7C87D, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7C87D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7C87D; -webkit-box-shadow: 1px 1px 3px 2px #D7C87D; box-shadow: 1px 1px 3px 2px #D7C87D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7C87D; -webkit-box-shadow: 1px 1px 3px 2px #D7C87D; box-shadow:1px 1px 3px 2px #D7C87D;">
Div content here</div>
This text has color #D7C87D on black background.
This text has color #D7C87D on white background.
This text has black color on #D7C87D background.
This text has white color on #D7C87D background.