HEX: #C7C987
RGB: (199,201,135)
#C7C987 contains mainly red and green colors. Web safe color of #C7C987 is #CCCC99 (or #CC9).
#C7C987 color RGB value is (199,201,135).
RGB: (199,201,135) (78%,79%,53%)
R 199 of 255 = 78%
G 201 of 255 = 79%
B 135 of 255 = 53%
R + G + B ~ 70%. #C7C987 is quite light color.
R + G + B =
199 + 201 + 135 = 535 (100%)
R 199 of 535 ~ 37.2%
G 201 of 535 ~ 37.57%
B 135 of 535 ~ 25.23%
#C7C987 color CMYK value is (1,0,33,21).
CMYK: (1,0,33,21) C1M0Y33K21 (1%,0%,33%,21%) (0.01/0.00/0.33/0.21)
C7 | C9 | 87 | |
---|---|---|---|
RGB | 199 | 201 | 135 |
HSL | 62° | 37.93% | 65.88% |
HSB/HSV | 62° | 32.84% | 78.82% |
CMYK | 1.00% | 0.00% | 32.84% |
21.18% |
HEX | C7 | C9 | 87 |
Decimal | 199 | 201 | 135 |
Binary | 11000111 | 11001001 | 10000111 |
Octal | 307 | 311 | 207 |
Examples of css and html codes for elements with #C7C987 color. Also use rgb(199,201,135) instead hex code.
.myTextColor { color: #C7C987; }
<p style="color:#C7C987">This sample text font color is #C7C987.</p>
This text font color is #C7C987.
.myBgColor { background-color: #C7C987; }
<div style="background-color:#C7C987">Inner text</div>
This div background color is #C7C987.
.myBorderColor { border: 1px solid #C7C987; }
<div style="border:3px solid #C7C987">Div</div>
This div border color is #C7C987.
.myOpacity80 { color: #C7C987; opacity: 0.8; }
<p style="color:#C7C987;opacity:0.8;">80%</p>
Text with #C7C987 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7C987;}
<p style="text-shadow: 3px 3px 1px #C7C987">Text here.</p>
This text has shadow with #C7C987 color.
.textShadow {text-shadow: 3px 3px 1px #C7C987, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7C987, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7C987 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7C987, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7C987, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7C987 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7C987; -webkit-box-shadow: 1px 1px 3px 2px #C7C987; box-shadow: 1px 1px 3px 2px #C7C987; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7C987; -webkit-box-shadow: 1px 1px 3px 2px #C7C987; box-shadow:1px 1px 3px 2px #C7C987;">
Div content here</div>
This text has color #C7C987 on black background.
This text has color #C7C987 on white background.
This text has black color on #C7C987 background.
This text has white color on #C7C987 background.