HEX: #ECF97C
RGB: (236,249,124)
#ECF97C contains mainly red and green colors. Web safe color of #ECF97C is #FFFF66 (or #FF6).
#ECF97C color RGB value is (236,249,124).
RGB: (236,249,124) (93%,98%,49%)
R 236 of 255 = 93%
G 249 of 255 = 98%
B 124 of 255 = 49%
R + G + B ~ 80%. #ECF97C is quite light color.
R + G + B =
236 + 249 + 124 = 609 (100%)
R 236 of 609 ~ 38.75%
G 249 of 609 ~ 40.89%
B 124 of 609 ~ 20.36%
#ECF97C color CMYK value is (5,0,50,2).
CMYK: (5,0,50,2) C5M0Y50K2 (5%,0%,50%,2%) (0.05/0.00/0.50/0.02)
EC | F9 | 7C | |
---|---|---|---|
RGB | 236 | 249 | 124 |
HSL | 66° | 91.24% | 73.14% |
HSB/HSV | 66° | 50.20% | 97.65% |
CMYK | 5.22% | 0.00% | 50.20% |
2.35% |
HEX | EC | F9 | 7C |
Decimal | 236 | 249 | 124 |
Binary | 11101100 | 11111001 | 1111100 |
Octal | 354 | 371 | 174 |
Examples of css and html codes for elements with #ECF97C color. Also use rgb(236,249,124) instead hex code.
.myTextColor { color: #ECF97C; }
<p style="color:#ECF97C">This sample text font color is #ECF97C.</p>
This text font color is #ECF97C.
.myBgColor { background-color: #ECF97C; }
<div style="background-color:#ECF97C">Inner text</div>
This div background color is #ECF97C.
.myBorderColor { border: 1px solid #ECF97C; }
<div style="border:3px solid #ECF97C">Div</div>
This div border color is #ECF97C.
.myOpacity80 { color: #ECF97C; opacity: 0.8; }
<p style="color:#ECF97C;opacity:0.8;">80%</p>
Text with #ECF97C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECF97C;}
<p style="text-shadow: 3px 3px 1px #ECF97C">Text here.</p>
This text has shadow with #ECF97C color.
.textShadow {text-shadow: 3px 3px 1px #ECF97C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECF97C, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECF97C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECF97C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECF97C, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECF97C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECF97C; -webkit-box-shadow: 1px 1px 3px 2px #ECF97C; box-shadow: 1px 1px 3px 2px #ECF97C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECF97C; -webkit-box-shadow: 1px 1px 3px 2px #ECF97C; box-shadow:1px 1px 3px 2px #ECF97C;">
Div content here</div>
This text has color #ECF97C on black background.
This text has color #ECF97C on white background.
This text has black color on #ECF97C background.
This text has white color on #ECF97C background.