HEX: #C6EC97
RGB: (198,236,151)
#C6EC97 contains mainly red and green colors. Web safe color of #C6EC97 is #CCFF99 (or #CF9).
#C6EC97 color RGB value is (198,236,151).
RGB: (198,236,151) (78%,93%,59%)
R 198 of 255 = 78%
G 236 of 255 = 93%
B 151 of 255 = 59%
R + G + B ~ 77%. #C6EC97 is quite light color.
R + G + B =
198 + 236 + 151 = 585 (100%)
R 198 of 585 ~ 33.85%
G 236 of 585 ~ 40.34%
B 151 of 585 ~ 25.81%
#C6EC97 color CMYK value is (16,0,36,7).
CMYK: (16,0,36,7) C16M0Y36K7 (16%,0%,36%,7%) (0.16/0.00/0.36/0.07)
C6 | EC | 97 | |
---|---|---|---|
RGB | 198 | 236 | 151 |
HSL | 87° | 69.11% | 75.88% |
HSB/HSV | 87° | 36.02% | 92.55% |
CMYK | 16.10% | 0.00% | 36.02% |
7.45% |
HEX | C6 | EC | 97 |
Decimal | 198 | 236 | 151 |
Binary | 11000110 | 11101100 | 10010111 |
Octal | 306 | 354 | 227 |
Examples of css and html codes for elements with #C6EC97 color. Also use rgb(198,236,151) instead hex code.
.myTextColor { color: #C6EC97; }
<p style="color:#C6EC97">This sample text font color is #C6EC97.</p>
This text font color is #C6EC97.
.myBgColor { background-color: #C6EC97; }
<div style="background-color:#C6EC97">Inner text</div>
This div background color is #C6EC97.
.myBorderColor { border: 1px solid #C6EC97; }
<div style="border:3px solid #C6EC97">Div</div>
This div border color is #C6EC97.
.myOpacity80 { color: #C6EC97; opacity: 0.8; }
<p style="color:#C6EC97;opacity:0.8;">80%</p>
Text with #C6EC97 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6EC97;}
<p style="text-shadow: 3px 3px 1px #C6EC97">Text here.</p>
This text has shadow with #C6EC97 color.
.textShadow {text-shadow: 3px 3px 1px #C6EC97, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6EC97, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6EC97 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6EC97, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6EC97, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6EC97 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6EC97; -webkit-box-shadow: 1px 1px 3px 2px #C6EC97; box-shadow: 1px 1px 3px 2px #C6EC97; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6EC97; -webkit-box-shadow: 1px 1px 3px 2px #C6EC97; box-shadow:1px 1px 3px 2px #C6EC97;">
Div content here</div>
This text has color #C6EC97 on black background.
This text has color #C6EC97 on white background.
This text has black color on #C6EC97 background.
This text has white color on #C6EC97 background.