HEX: #ECF8A6
RGB: (236,248,166)
#ECF8A6 contains mainly red and green colors. Web safe color of #ECF8A6 is #FFFF99 (or #FF9).
#ECF8A6 color RGB value is (236,248,166).
RGB: (236,248,166) (93%,97%,65%)
R 236 of 255 = 93%
G 248 of 255 = 97%
B 166 of 255 = 65%
R + G + B ~ 85%. #ECF8A6 is quite light color.
R + G + B =
236 + 248 + 166 = 650 (100%)
R 236 of 650 ~ 36.31%
G 248 of 650 ~ 38.15%
B 166 of 650 ~ 25.54%
#ECF8A6 color CMYK value is (5,0,33,3).
CMYK: (5,0,33,3) C5M0Y33K3 (5%,0%,33%,3%) (0.05/0.00/0.33/0.03)
EC | F8 | A6 | |
---|---|---|---|
RGB | 236 | 248 | 166 |
HSL | 69° | 85.42% | 81.18% |
HSB/HSV | 69° | 33.06% | 97.25% |
CMYK | 4.84% | 0.00% | 33.06% |
2.75% |
HEX | EC | F8 | A6 |
Decimal | 236 | 248 | 166 |
Binary | 11101100 | 11111000 | 10100110 |
Octal | 354 | 370 | 246 |
Examples of css and html codes for elements with #ECF8A6 color. Also use rgb(236,248,166) instead hex code.
.myTextColor { color: #ECF8A6; }
<p style="color:#ECF8A6">This sample text font color is #ECF8A6.</p>
This text font color is #ECF8A6.
.myBgColor { background-color: #ECF8A6; }
<div style="background-color:#ECF8A6">Inner text</div>
This div background color is #ECF8A6.
.myBorderColor { border: 1px solid #ECF8A6; }
<div style="border:3px solid #ECF8A6">Div</div>
This div border color is #ECF8A6.
.myOpacity80 { color: #ECF8A6; opacity: 0.8; }
<p style="color:#ECF8A6;opacity:0.8;">80%</p>
Text with #ECF8A6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECF8A6;}
<p style="text-shadow: 3px 3px 1px #ECF8A6">Text here.</p>
This text has shadow with #ECF8A6 color.
.textShadow {text-shadow: 3px 3px 1px #ECF8A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECF8A6, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECF8A6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECF8A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECF8A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECF8A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECF8A6; -webkit-box-shadow: 1px 1px 3px 2px #ECF8A6; box-shadow: 1px 1px 3px 2px #ECF8A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECF8A6; -webkit-box-shadow: 1px 1px 3px 2px #ECF8A6; box-shadow:1px 1px 3px 2px #ECF8A6;">
Div content here</div>
This text has color #ECF8A6 on black background.
This text has color #ECF8A6 on white background.
This text has black color on #ECF8A6 background.
This text has white color on #ECF8A6 background.