HEX: #D5987D
RGB: (213,152,125)
#D5987D contains mainly red color. Web safe color of #D5987D is #CC9966 (or #C96).
#D5987D color RGB value is (213,152,125).
RGB: (213,152,125) (84%,60%,49%)
R 213 of 255 = 84%
G 152 of 255 = 60%
B 125 of 255 = 49%
R + G + B ~ 64%. #D5987D is quite light color.
R + G + B =
213 + 152 + 125 = 490 (100%)
R 213 of 490 ~ 43.47%
G 152 of 490 ~ 31.02%
B 125 of 490 ~ 25.51%
#D5987D color CMYK value is (0,29,41,16).
CMYK: (0,29,41,16) C0M29Y41K16 (0%,29%,41%,16%) (0.00/0.29/0.41/0.16)
D5 | 98 | 7D | |
---|---|---|---|
RGB | 213 | 152 | 125 |
HSL | 18° | 51.16% | 66.27% |
HSB/HSV | 18° | 41.31% | 83.53% |
CMYK | 0.00% | 28.64% | 41.31% |
16.47% |
HEX | D5 | 98 | 7D |
Decimal | 213 | 152 | 125 |
Binary | 11010101 | 10011000 | 1111101 |
Octal | 325 | 230 | 175 |
Examples of css and html codes for elements with #D5987D color. Also use rgb(213,152,125) instead hex code.
.myTextColor { color: #D5987D; }
<p style="color:#D5987D">This sample text font color is #D5987D.</p>
This text font color is #D5987D.
.myBgColor { background-color: #D5987D; }
<div style="background-color:#D5987D">Inner text</div>
This div background color is #D5987D.
.myBorderColor { border: 1px solid #D5987D; }
<div style="border:3px solid #D5987D">Div</div>
This div border color is #D5987D.
.myOpacity80 { color: #D5987D; opacity: 0.8; }
<p style="color:#D5987D;opacity:0.8;">80%</p>
Text with #D5987D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5987D;}
<p style="text-shadow: 3px 3px 1px #D5987D">Text here.</p>
This text has shadow with #D5987D color.
.textShadow {text-shadow: 3px 3px 1px #D5987D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5987D, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5987D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5987D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5987D, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5987D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5987D; -webkit-box-shadow: 1px 1px 3px 2px #D5987D; box-shadow: 1px 1px 3px 2px #D5987D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5987D; -webkit-box-shadow: 1px 1px 3px 2px #D5987D; box-shadow:1px 1px 3px 2px #D5987D;">
Div content here</div>
This text has color #D5987D on black background.
This text has color #D5987D on white background.
This text has black color on #D5987D background.
This text has white color on #D5987D background.