HEX: #C7987F
RGB: (199,152,127)
#C7987F contains mainly red and green colors. Web safe color of #C7987F is #CC9966 (or #C96).
#C7987F color RGB value is (199,152,127).
RGB: (199,152,127) (78%,60%,50%)
R 199 of 255 = 78%
G 152 of 255 = 60%
B 127 of 255 = 50%
R + G + B ~ 63%. #C7987F is quite light color.
R + G + B =
199 + 152 + 127 = 478 (100%)
R 199 of 478 ~ 41.63%
G 152 of 478 ~ 31.8%
B 127 of 478 ~ 26.57%
#C7987F color CMYK value is (0,24,36,22).
CMYK: (0,24,36,22) C0M24Y36K22 (0%,24%,36%,22%) (0.00/0.24/0.36/0.22)
C7 | 98 | 7F | |
---|---|---|---|
RGB | 199 | 152 | 127 |
HSL | 21° | 39.13% | 63.92% |
HSB/HSV | 21° | 36.18% | 78.04% |
CMYK | 0.00% | 23.62% | 36.18% |
21.96% |
HEX | C7 | 98 | 7F |
Decimal | 199 | 152 | 127 |
Binary | 11000111 | 10011000 | 1111111 |
Octal | 307 | 230 | 177 |
Examples of css and html codes for elements with #C7987F color. Also use rgb(199,152,127) instead hex code.
.myTextColor { color: #C7987F; }
<p style="color:#C7987F">This sample text font color is #C7987F.</p>
This text font color is #C7987F.
.myBgColor { background-color: #C7987F; }
<div style="background-color:#C7987F">Inner text</div>
This div background color is #C7987F.
.myBorderColor { border: 1px solid #C7987F; }
<div style="border:3px solid #C7987F">Div</div>
This div border color is #C7987F.
.myOpacity80 { color: #C7987F; opacity: 0.8; }
<p style="color:#C7987F;opacity:0.8;">80%</p>
Text with #C7987F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7987F;}
<p style="text-shadow: 3px 3px 1px #C7987F">Text here.</p>
This text has shadow with #C7987F color.
.textShadow {text-shadow: 3px 3px 1px #C7987F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7987F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7987F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7987F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7987F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7987F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7987F; -webkit-box-shadow: 1px 1px 3px 2px #C7987F; box-shadow: 1px 1px 3px 2px #C7987F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7987F; -webkit-box-shadow: 1px 1px 3px 2px #C7987F; box-shadow:1px 1px 3px 2px #C7987F;">
Div content here</div>
This text has color #C7987F on black background.
This text has color #C7987F on white background.
This text has black color on #C7987F background.
This text has white color on #C7987F background.