HEX: #C6E38E
RGB: (198,227,142)
#C6E38E contains mainly red and green colors. Web safe color of #C6E38E is #CCCC99 (or #CC9).
#C6E38E color RGB value is (198,227,142).
RGB: (198,227,142) (78%,89%,56%)
R 198 of 255 = 78%
G 227 of 255 = 89%
B 142 of 255 = 56%
R + G + B ~ 74%. #C6E38E is quite light color.
R + G + B =
198 + 227 + 142 = 567 (100%)
R 198 of 567 ~ 34.92%
G 227 of 567 ~ 40.04%
B 142 of 567 ~ 25.04%
#C6E38E color CMYK value is (13,0,37,11).
CMYK: (13,0,37,11) C13M0Y37K11 (13%,0%,37%,11%) (0.13/0.00/0.37/0.11)
C6 | E3 | 8E | |
---|---|---|---|
RGB | 198 | 227 | 142 |
HSL | 80° | 60.28% | 72.35% |
HSB/HSV | 80° | 37.44% | 89.02% |
CMYK | 12.78% | 0.00% | 37.44% |
10.98% |
HEX | C6 | E3 | 8E |
Decimal | 198 | 227 | 142 |
Binary | 11000110 | 11100011 | 10001110 |
Octal | 306 | 343 | 216 |
Examples of css and html codes for elements with #C6E38E color. Also use rgb(198,227,142) instead hex code.
.myTextColor { color: #C6E38E; }
<p style="color:#C6E38E">This sample text font color is #C6E38E.</p>
This text font color is #C6E38E.
.myBgColor { background-color: #C6E38E; }
<div style="background-color:#C6E38E">Inner text</div>
This div background color is #C6E38E.
.myBorderColor { border: 1px solid #C6E38E; }
<div style="border:3px solid #C6E38E">Div</div>
This div border color is #C6E38E.
.myOpacity80 { color: #C6E38E; opacity: 0.8; }
<p style="color:#C6E38E;opacity:0.8;">80%</p>
Text with #C6E38E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6E38E;}
<p style="text-shadow: 3px 3px 1px #C6E38E">Text here.</p>
This text has shadow with #C6E38E color.
.textShadow {text-shadow: 3px 3px 1px #C6E38E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6E38E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6E38E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6E38E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6E38E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6E38E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6E38E; -webkit-box-shadow: 1px 1px 3px 2px #C6E38E; box-shadow: 1px 1px 3px 2px #C6E38E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6E38E; -webkit-box-shadow: 1px 1px 3px 2px #C6E38E; box-shadow:1px 1px 3px 2px #C6E38E;">
Div content here</div>
This text has color #C6E38E on black background.
This text has color #C6E38E on white background.
This text has black color on #C6E38E background.
This text has white color on #C6E38E background.