HEX: #C7A87E
RGB: (199,168,126)
#C7A87E contains mainly red and green colors. Web safe color of #C7A87E is #CC9966 (or #C96).
#C7A87E color RGB value is (199,168,126).
RGB: (199,168,126) (78%,66%,49%)
R 199 of 255 = 78%
G 168 of 255 = 66%
B 126 of 255 = 49%
R + G + B ~ 64%. #C7A87E is quite light color.
R + G + B =
199 + 168 + 126 = 493 (100%)
R 199 of 493 ~ 40.37%
G 168 of 493 ~ 34.08%
B 126 of 493 ~ 25.56%
#C7A87E color CMYK value is (0,16,37,22).
CMYK: (0,16,37,22) C0M16Y37K22 (0%,16%,37%,22%) (0.00/0.16/0.37/0.22)
C7 | A8 | 7E | |
---|---|---|---|
RGB | 199 | 168 | 126 |
HSL | 35° | 39.46% | 63.73% |
HSB/HSV | 35° | 36.68% | 78.04% |
CMYK | 0.00% | 15.58% | 36.68% |
21.96% |
HEX | C7 | A8 | 7E |
Decimal | 199 | 168 | 126 |
Binary | 11000111 | 10101000 | 1111110 |
Octal | 307 | 250 | 176 |
Examples of css and html codes for elements with #C7A87E color. Also use rgb(199,168,126) instead hex code.
.myTextColor { color: #C7A87E; }
<p style="color:#C7A87E">This sample text font color is #C7A87E.</p>
This text font color is #C7A87E.
.myBgColor { background-color: #C7A87E; }
<div style="background-color:#C7A87E">Inner text</div>
This div background color is #C7A87E.
.myBorderColor { border: 1px solid #C7A87E; }
<div style="border:3px solid #C7A87E">Div</div>
This div border color is #C7A87E.
.myOpacity80 { color: #C7A87E; opacity: 0.8; }
<p style="color:#C7A87E;opacity:0.8;">80%</p>
Text with #C7A87E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7A87E;}
<p style="text-shadow: 3px 3px 1px #C7A87E">Text here.</p>
This text has shadow with #C7A87E color.
.textShadow {text-shadow: 3px 3px 1px #C7A87E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7A87E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7A87E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7A87E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7A87E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7A87E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7A87E; -webkit-box-shadow: 1px 1px 3px 2px #C7A87E; box-shadow: 1px 1px 3px 2px #C7A87E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7A87E; -webkit-box-shadow: 1px 1px 3px 2px #C7A87E; box-shadow:1px 1px 3px 2px #C7A87E;">
Div content here</div>
This text has color #C7A87E on black background.
This text has color #C7A87E on white background.
This text has black color on #C7A87E background.
This text has white color on #C7A87E background.