HEX: #C6D99C
RGB: (198,217,156)
#C6D99C contains mainly red and green colors. Web safe color of #C6D99C is #CCCC99 (or #CC9).
#C6D99C color RGB value is (198,217,156).
RGB: (198,217,156) (78%,85%,61%)
R 198 of 255 = 78%
G 217 of 255 = 85%
B 156 of 255 = 61%
R + G + B ~ 75%. #C6D99C is quite light color.
R + G + B =
198 + 217 + 156 = 571 (100%)
R 198 of 571 ~ 34.68%
G 217 of 571 ~ 38%
B 156 of 571 ~ 27.32%
#C6D99C color CMYK value is (9,0,28,15).
CMYK: (9,0,28,15) C9M0Y28K15 (9%,0%,28%,15%) (0.09/0.00/0.28/0.15)
C6 | D9 | 9C | |
---|---|---|---|
RGB | 198 | 217 | 156 |
HSL | 79° | 44.53% | 73.14% |
HSB/HSV | 79° | 28.11% | 85.10% |
CMYK | 8.76% | 0.00% | 28.11% |
14.90% |
HEX | C6 | D9 | 9C |
Decimal | 198 | 217 | 156 |
Binary | 11000110 | 11011001 | 10011100 |
Octal | 306 | 331 | 234 |
Examples of css and html codes for elements with #C6D99C color. Also use rgb(198,217,156) instead hex code.
.myTextColor { color: #C6D99C; }
<p style="color:#C6D99C">This sample text font color is #C6D99C.</p>
This text font color is #C6D99C.
.myBgColor { background-color: #C6D99C; }
<div style="background-color:#C6D99C">Inner text</div>
This div background color is #C6D99C.
.myBorderColor { border: 1px solid #C6D99C; }
<div style="border:3px solid #C6D99C">Div</div>
This div border color is #C6D99C.
.myOpacity80 { color: #C6D99C; opacity: 0.8; }
<p style="color:#C6D99C;opacity:0.8;">80%</p>
Text with #C6D99C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6D99C;}
<p style="text-shadow: 3px 3px 1px #C6D99C">Text here.</p>
This text has shadow with #C6D99C color.
.textShadow {text-shadow: 3px 3px 1px #C6D99C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6D99C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6D99C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6D99C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6D99C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6D99C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6D99C; -webkit-box-shadow: 1px 1px 3px 2px #C6D99C; box-shadow: 1px 1px 3px 2px #C6D99C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6D99C; -webkit-box-shadow: 1px 1px 3px 2px #C6D99C; box-shadow:1px 1px 3px 2px #C6D99C;">
Div content here</div>
This text has color #C6D99C on black background.
This text has color #C6D99C on white background.
This text has black color on #C6D99C background.
This text has white color on #C6D99C background.