HEX: #E7EC97
RGB: (231,236,151)
#E7EC97 contains mainly red and green colors. Web safe color of #E7EC97 is #FFFF99 (or #FF9).
#E7EC97 color RGB value is (231,236,151).
RGB: (231,236,151) (91%,93%,59%)
R 231 of 255 = 91%
G 236 of 255 = 93%
B 151 of 255 = 59%
R + G + B ~ 81%. #E7EC97 is quite light color.
R + G + B =
231 + 236 + 151 = 618 (100%)
R 231 of 618 ~ 37.38%
G 236 of 618 ~ 38.19%
B 151 of 618 ~ 24.43%
#E7EC97 color CMYK value is (2,0,36,7).
CMYK: (2,0,36,7) C2M0Y36K7 (2%,0%,36%,7%) (0.02/0.00/0.36/0.07)
E7 | EC | 97 | |
---|---|---|---|
RGB | 231 | 236 | 151 |
HSL | 64° | 69.11% | 75.88% |
HSB/HSV | 64° | 36.02% | 92.55% |
CMYK | 2.12% | 0.00% | 36.02% |
7.45% |
HEX | E7 | EC | 97 |
Decimal | 231 | 236 | 151 |
Binary | 11100111 | 11101100 | 10010111 |
Octal | 347 | 354 | 227 |
Examples of css and html codes for elements with #E7EC97 color. Also use rgb(231,236,151) instead hex code.
.myTextColor { color: #E7EC97; }
<p style="color:#E7EC97">This sample text font color is #E7EC97.</p>
This text font color is #E7EC97.
.myBgColor { background-color: #E7EC97; }
<div style="background-color:#E7EC97">Inner text</div>
This div background color is #E7EC97.
.myBorderColor { border: 1px solid #E7EC97; }
<div style="border:3px solid #E7EC97">Div</div>
This div border color is #E7EC97.
.myOpacity80 { color: #E7EC97; opacity: 0.8; }
<p style="color:#E7EC97;opacity:0.8;">80%</p>
Text with #E7EC97 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E7EC97;}
<p style="text-shadow: 3px 3px 1px #E7EC97">Text here.</p>
This text has shadow with #E7EC97 color.
.textShadow {text-shadow: 3px 3px 1px #E7EC97, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E7EC97, 5px 5px 20px red">Text here.</p>
This text has shadow with #E7EC97 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E7EC97, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E7EC97, Direction=45, Strength=4)">Text</p>
This text has shadow with #E7EC97 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E7EC97; -webkit-box-shadow: 1px 1px 3px 2px #E7EC97; box-shadow: 1px 1px 3px 2px #E7EC97; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E7EC97; -webkit-box-shadow: 1px 1px 3px 2px #E7EC97; box-shadow:1px 1px 3px 2px #E7EC97;">
Div content here</div>
This text has color #E7EC97 on black background.
This text has color #E7EC97 on white background.
This text has black color on #E7EC97 background.
This text has white color on #E7EC97 background.