HEX: #D7CC80
RGB: (215,204,128)
#D7CC80 contains mainly red and green colors. Web safe color of #D7CC80 is #CCCC66 (or #CC6).
#D7CC80 color RGB value is (215,204,128).
RGB: (215,204,128) (84%,80%,50%)
R 215 of 255 = 84%
G 204 of 255 = 80%
B 128 of 255 = 50%
R + G + B ~ 71%. #D7CC80 is quite light color.
R + G + B =
215 + 204 + 128 = 547 (100%)
R 215 of 547 ~ 39.31%
G 204 of 547 ~ 37.29%
B 128 of 547 ~ 23.4%
#D7CC80 color CMYK value is (0,5,40,16).
CMYK: (0,5,40,16) C0M5Y40K16 (0%,5%,40%,16%) (0.00/0.05/0.40/0.16)
D7 | CC | 80 | |
---|---|---|---|
RGB | 215 | 204 | 128 |
HSL | 52° | 52.10% | 67.25% |
HSB/HSV | 52° | 40.47% | 84.31% |
CMYK | 0.00% | 5.12% | 40.47% |
15.69% |
HEX | D7 | CC | 80 |
Decimal | 215 | 204 | 128 |
Binary | 11010111 | 11001100 | 10000000 |
Octal | 327 | 314 | 200 |
Examples of css and html codes for elements with #D7CC80 color. Also use rgb(215,204,128) instead hex code.
.myTextColor { color: #D7CC80; }
<p style="color:#D7CC80">This sample text font color is #D7CC80.</p>
This text font color is #D7CC80.
.myBgColor { background-color: #D7CC80; }
<div style="background-color:#D7CC80">Inner text</div>
This div background color is #D7CC80.
.myBorderColor { border: 1px solid #D7CC80; }
<div style="border:3px solid #D7CC80">Div</div>
This div border color is #D7CC80.
.myOpacity80 { color: #D7CC80; opacity: 0.8; }
<p style="color:#D7CC80;opacity:0.8;">80%</p>
Text with #D7CC80 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7CC80;}
<p style="text-shadow: 3px 3px 1px #D7CC80">Text here.</p>
This text has shadow with #D7CC80 color.
.textShadow {text-shadow: 3px 3px 1px #D7CC80, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7CC80, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7CC80 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7CC80, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7CC80, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7CC80 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7CC80; -webkit-box-shadow: 1px 1px 3px 2px #D7CC80; box-shadow: 1px 1px 3px 2px #D7CC80; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7CC80; -webkit-box-shadow: 1px 1px 3px 2px #D7CC80; box-shadow:1px 1px 3px 2px #D7CC80;">
Div content here</div>
This text has color #D7CC80 on black background.
This text has color #D7CC80 on white background.
This text has black color on #D7CC80 background.
This text has white color on #D7CC80 background.