HEX: #D5C97F
RGB: (213,201,127)
#D5C97F contains mainly red and green colors. Web safe color of #D5C97F is #CCCC66 (or #CC6).
#D5C97F color RGB value is (213,201,127).
RGB: (213,201,127) (84%,79%,50%)
R 213 of 255 = 84%
G 201 of 255 = 79%
B 127 of 255 = 50%
R + G + B ~ 71%. #D5C97F is quite light color.
R + G + B =
213 + 201 + 127 = 541 (100%)
R 213 of 541 ~ 39.37%
G 201 of 541 ~ 37.15%
B 127 of 541 ~ 23.48%
#D5C97F color CMYK value is (0,6,40,16).
CMYK: (0,6,40,16) C0M6Y40K16 (0%,6%,40%,16%) (0.00/0.06/0.40/0.16)
D5 | C9 | 7F | |
---|---|---|---|
RGB | 213 | 201 | 127 |
HSL | 52° | 50.59% | 66.67% |
HSB/HSV | 52° | 40.38% | 83.53% |
CMYK | 0.00% | 5.63% | 40.38% |
16.47% |
HEX | D5 | C9 | 7F |
Decimal | 213 | 201 | 127 |
Binary | 11010101 | 11001001 | 1111111 |
Octal | 325 | 311 | 177 |
Examples of css and html codes for elements with #D5C97F color. Also use rgb(213,201,127) instead hex code.
.myTextColor { color: #D5C97F; }
<p style="color:#D5C97F">This sample text font color is #D5C97F.</p>
This text font color is #D5C97F.
.myBgColor { background-color: #D5C97F; }
<div style="background-color:#D5C97F">Inner text</div>
This div background color is #D5C97F.
.myBorderColor { border: 1px solid #D5C97F; }
<div style="border:3px solid #D5C97F">Div</div>
This div border color is #D5C97F.
.myOpacity80 { color: #D5C97F; opacity: 0.8; }
<p style="color:#D5C97F;opacity:0.8;">80%</p>
Text with #D5C97F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5C97F;}
<p style="text-shadow: 3px 3px 1px #D5C97F">Text here.</p>
This text has shadow with #D5C97F color.
.textShadow {text-shadow: 3px 3px 1px #D5C97F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5C97F, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5C97F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5C97F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5C97F, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5C97F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5C97F; -webkit-box-shadow: 1px 1px 3px 2px #D5C97F; box-shadow: 1px 1px 3px 2px #D5C97F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5C97F; -webkit-box-shadow: 1px 1px 3px 2px #D5C97F; box-shadow:1px 1px 3px 2px #D5C97F;">
Div content here</div>
This text has color #D5C97F on black background.
This text has color #D5C97F on white background.
This text has black color on #D5C97F background.
This text has white color on #D5C97F background.