HEX: #ECFC0C
RGB: (236,252,12)
#ECFC0C contains mainly red and green colors. Web safe color of #ECFC0C is #FFFF00 (or #FF0).
#ECFC0C color RGB value is (236,252,12).
RGB: (236,252,12) (93%,99%,5%)
R 236 of 255 = 93%
G 252 of 255 = 99%
B 12 of 255 = 5%
R + G + B ~ 66%. #ECFC0C is quite light color.
R + G + B =
236 + 252 + 12 = 500 (100%)
R 236 of 500 ~ 47.2%
G 252 of 500 ~ 50.4%
B 12 of 500 ~ 2.4%
#ECFC0C color CMYK value is (6,0,95,1).
CMYK: (6,0,95,1) C6M0Y95K1 (6%,0%,95%,1%) (0.06/0.00/0.95/0.01)
EC | FC | 0C | |
---|---|---|---|
RGB | 236 | 252 | 12 |
HSL | 64° | 97.56% | 51.76% |
HSB/HSV | 64° | 95.24% | 98.82% |
CMYK | 6.35% | 0.00% | 95.24% |
1.18% |
HEX | EC | FC | 0C |
Decimal | 236 | 252 | 12 |
Binary | 11101100 | 11111100 | 1100 |
Octal | 354 | 374 | 14 |
Examples of css and html codes for elements with #ECFC0C color. Also use rgb(236,252,12) instead hex code.
.myTextColor { color: #ECFC0C; }
<p style="color:#ECFC0C">This sample text font color is #ECFC0C.</p>
This text font color is #ECFC0C.
.myBgColor { background-color: #ECFC0C; }
<div style="background-color:#ECFC0C">Inner text</div>
This div background color is #ECFC0C.
.myBorderColor { border: 1px solid #ECFC0C; }
<div style="border:3px solid #ECFC0C">Div</div>
This div border color is #ECFC0C.
.myOpacity80 { color: #ECFC0C; opacity: 0.8; }
<p style="color:#ECFC0C;opacity:0.8;">80%</p>
Text with #ECFC0C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECFC0C;}
<p style="text-shadow: 3px 3px 1px #ECFC0C">Text here.</p>
This text has shadow with #ECFC0C color.
.textShadow {text-shadow: 3px 3px 1px #ECFC0C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECFC0C, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECFC0C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECFC0C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECFC0C, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECFC0C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECFC0C; -webkit-box-shadow: 1px 1px 3px 2px #ECFC0C; box-shadow: 1px 1px 3px 2px #ECFC0C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECFC0C; -webkit-box-shadow: 1px 1px 3px 2px #ECFC0C; box-shadow:1px 1px 3px 2px #ECFC0C;">
Div content here</div>
This text has color #ECFC0C on black background.
This text has color #ECFC0C on white background.
This text has black color on #ECFC0C background.
This text has white color on #ECFC0C background.