HEX: #C6987F
RGB: (198,152,127)
#C6987F contains mainly red and green colors. Web safe color of #C6987F is #CC9966 (or #C96).
#C6987F color RGB value is (198,152,127).
RGB: (198,152,127) (78%,60%,50%)
R 198 of 255 = 78%
G 152 of 255 = 60%
B 127 of 255 = 50%
R + G + B ~ 63%. #C6987F is quite light color.
R + G + B =
198 + 152 + 127 = 477 (100%)
R 198 of 477 ~ 41.51%
G 152 of 477 ~ 31.87%
B 127 of 477 ~ 26.62%
#C6987F color CMYK value is (0,23,36,22).
CMYK: (0,23,36,22) C0M23Y36K22 (0%,23%,36%,22%) (0.00/0.23/0.36/0.22)
C6 | 98 | 7F | |
---|---|---|---|
RGB | 198 | 152 | 127 |
HSL | 21° | 38.38% | 63.73% |
HSB/HSV | 21° | 35.86% | 77.65% |
CMYK | 0.00% | 23.23% | 35.86% |
22.35% |
HEX | C6 | 98 | 7F |
Decimal | 198 | 152 | 127 |
Binary | 11000110 | 10011000 | 1111111 |
Octal | 306 | 230 | 177 |
Examples of css and html codes for elements with #C6987F color. Also use rgb(198,152,127) instead hex code.
.myTextColor { color: #C6987F; }
<p style="color:#C6987F">This sample text font color is #C6987F.</p>
This text font color is #C6987F.
.myBgColor { background-color: #C6987F; }
<div style="background-color:#C6987F">Inner text</div>
This div background color is #C6987F.
.myBorderColor { border: 1px solid #C6987F; }
<div style="border:3px solid #C6987F">Div</div>
This div border color is #C6987F.
.myOpacity80 { color: #C6987F; opacity: 0.8; }
<p style="color:#C6987F;opacity:0.8;">80%</p>
Text with #C6987F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6987F;}
<p style="text-shadow: 3px 3px 1px #C6987F">Text here.</p>
This text has shadow with #C6987F color.
.textShadow {text-shadow: 3px 3px 1px #C6987F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6987F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6987F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6987F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6987F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6987F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6987F; -webkit-box-shadow: 1px 1px 3px 2px #C6987F; box-shadow: 1px 1px 3px 2px #C6987F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6987F; -webkit-box-shadow: 1px 1px 3px 2px #C6987F; box-shadow:1px 1px 3px 2px #C6987F;">
Div content here</div>
This text has color #C6987F on black background.
This text has color #C6987F on white background.
This text has black color on #C6987F background.
This text has white color on #C6987F background.