HEX: #E4F7AF
RGB: (228,247,175)
#E4F7AF contains mainly red and green colors. Web safe color of #E4F7AF is #CCFF99 (or #CF9).
#E4F7AF color RGB value is (228,247,175).
RGB: (228,247,175) (89%,97%,69%)
R 228 of 255 = 89%
G 247 of 255 = 97%
B 175 of 255 = 69%
R + G + B ~ 85%. #E4F7AF is quite light color.
R + G + B =
228 + 247 + 175 = 650 (100%)
R 228 of 650 ~ 35.08%
G 247 of 650 ~ 38%
B 175 of 650 ~ 26.92%
#E4F7AF color CMYK value is (8,0,29,3).
CMYK: (8,0,29,3) C8M0Y29K3 (8%,0%,29%,3%) (0.08/0.00/0.29/0.03)
E4 | F7 | AF | |
---|---|---|---|
RGB | 228 | 247 | 175 |
HSL | 76° | 81.82% | 82.75% |
HSB/HSV | 76° | 29.15% | 96.86% |
CMYK | 7.69% | 0.00% | 29.15% |
3.14% |
HEX | E4 | F7 | AF |
Decimal | 228 | 247 | 175 |
Binary | 11100100 | 11110111 | 10101111 |
Octal | 344 | 367 | 257 |
Examples of css and html codes for elements with #E4F7AF color. Also use rgb(228,247,175) instead hex code.
.myTextColor { color: #E4F7AF; }
<p style="color:#E4F7AF">This sample text font color is #E4F7AF.</p>
This text font color is #E4F7AF.
.myBgColor { background-color: #E4F7AF; }
<div style="background-color:#E4F7AF">Inner text</div>
This div background color is #E4F7AF.
.myBorderColor { border: 1px solid #E4F7AF; }
<div style="border:3px solid #E4F7AF">Div</div>
This div border color is #E4F7AF.
.myOpacity80 { color: #E4F7AF; opacity: 0.8; }
<p style="color:#E4F7AF;opacity:0.8;">80%</p>
Text with #E4F7AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4F7AF;}
<p style="text-shadow: 3px 3px 1px #E4F7AF">Text here.</p>
This text has shadow with #E4F7AF color.
.textShadow {text-shadow: 3px 3px 1px #E4F7AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4F7AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4F7AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4F7AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4F7AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4F7AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4F7AF; -webkit-box-shadow: 1px 1px 3px 2px #E4F7AF; box-shadow: 1px 1px 3px 2px #E4F7AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4F7AF; -webkit-box-shadow: 1px 1px 3px 2px #E4F7AF; box-shadow:1px 1px 3px 2px #E4F7AF;">
Div content here</div>
This text has color #E4F7AF on black background.
This text has color #E4F7AF on white background.
This text has black color on #E4F7AF background.
This text has white color on #E4F7AF background.