HEX: #D5C580
RGB: (213,197,128)
#D5C580 contains mainly red and green colors. Web safe color of #D5C580 is #CCCC66 (or #CC6).
#D5C580 color RGB value is (213,197,128).
RGB: (213,197,128) (84%,77%,50%)
R 213 of 255 = 84%
G 197 of 255 = 77%
B 128 of 255 = 50%
R + G + B ~ 70%. #D5C580 is quite light color.
R + G + B =
213 + 197 + 128 = 538 (100%)
R 213 of 538 ~ 39.59%
G 197 of 538 ~ 36.62%
B 128 of 538 ~ 23.79%
#D5C580 color CMYK value is (0,8,40,16).
CMYK: (0,8,40,16) C0M8Y40K16 (0%,8%,40%,16%) (0.00/0.08/0.40/0.16)
D5 | C5 | 80 | |
---|---|---|---|
RGB | 213 | 197 | 128 |
HSL | 49° | 50.30% | 66.86% |
HSB/HSV | 49° | 39.91% | 83.53% |
CMYK | 0.00% | 7.51% | 39.91% |
16.47% |
HEX | D5 | C5 | 80 |
Decimal | 213 | 197 | 128 |
Binary | 11010101 | 11000101 | 10000000 |
Octal | 325 | 305 | 200 |
Examples of css and html codes for elements with #D5C580 color. Also use rgb(213,197,128) instead hex code.
.myTextColor { color: #D5C580; }
<p style="color:#D5C580">This sample text font color is #D5C580.</p>
This text font color is #D5C580.
.myBgColor { background-color: #D5C580; }
<div style="background-color:#D5C580">Inner text</div>
This div background color is #D5C580.
.myBorderColor { border: 1px solid #D5C580; }
<div style="border:3px solid #D5C580">Div</div>
This div border color is #D5C580.
.myOpacity80 { color: #D5C580; opacity: 0.8; }
<p style="color:#D5C580;opacity:0.8;">80%</p>
Text with #D5C580 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5C580;}
<p style="text-shadow: 3px 3px 1px #D5C580">Text here.</p>
This text has shadow with #D5C580 color.
.textShadow {text-shadow: 3px 3px 1px #D5C580, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5C580, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5C580 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5C580, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5C580, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5C580 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5C580; -webkit-box-shadow: 1px 1px 3px 2px #D5C580; box-shadow: 1px 1px 3px 2px #D5C580; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5C580; -webkit-box-shadow: 1px 1px 3px 2px #D5C580; box-shadow:1px 1px 3px 2px #D5C580;">
Div content here</div>
This text has color #D5C580 on black background.
This text has color #D5C580 on white background.
This text has black color on #D5C580 background.
This text has white color on #D5C580 background.