HEX: #C6E998
RGB: (198,233,152)
#C6E998 contains mainly red and green colors. Web safe color of #C6E998 is #CCFF99 (or #CF9).
#C6E998 color RGB value is (198,233,152).
RGB: (198,233,152) (78%,91%,60%)
R 198 of 255 = 78%
G 233 of 255 = 91%
B 152 of 255 = 60%
R + G + B ~ 76%. #C6E998 is quite light color.
R + G + B =
198 + 233 + 152 = 583 (100%)
R 198 of 583 ~ 33.96%
G 233 of 583 ~ 39.97%
B 152 of 583 ~ 26.07%
#C6E998 color CMYK value is (15,0,35,9).
CMYK: (15,0,35,9) C15M0Y35K9 (15%,0%,35%,9%) (0.15/0.00/0.35/0.09)
C6 | E9 | 98 | |
---|---|---|---|
RGB | 198 | 233 | 152 |
HSL | 86° | 64.80% | 75.49% |
HSB/HSV | 86° | 34.76% | 91.37% |
CMYK | 15.02% | 0.00% | 34.76% |
8.63% |
HEX | C6 | E9 | 98 |
Decimal | 198 | 233 | 152 |
Binary | 11000110 | 11101001 | 10011000 |
Octal | 306 | 351 | 230 |
Examples of css and html codes for elements with #C6E998 color. Also use rgb(198,233,152) instead hex code.
.myTextColor { color: #C6E998; }
<p style="color:#C6E998">This sample text font color is #C6E998.</p>
This text font color is #C6E998.
.myBgColor { background-color: #C6E998; }
<div style="background-color:#C6E998">Inner text</div>
This div background color is #C6E998.
.myBorderColor { border: 1px solid #C6E998; }
<div style="border:3px solid #C6E998">Div</div>
This div border color is #C6E998.
.myOpacity80 { color: #C6E998; opacity: 0.8; }
<p style="color:#C6E998;opacity:0.8;">80%</p>
Text with #C6E998 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6E998;}
<p style="text-shadow: 3px 3px 1px #C6E998">Text here.</p>
This text has shadow with #C6E998 color.
.textShadow {text-shadow: 3px 3px 1px #C6E998, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6E998, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6E998 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6E998, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6E998, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6E998 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6E998; -webkit-box-shadow: 1px 1px 3px 2px #C6E998; box-shadow: 1px 1px 3px 2px #C6E998; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6E998; -webkit-box-shadow: 1px 1px 3px 2px #C6E998; box-shadow:1px 1px 3px 2px #C6E998;">
Div content here</div>
This text has color #C6E998 on black background.
This text has color #C6E998 on white background.
This text has black color on #C6E998 background.
This text has white color on #C6E998 background.