HEX: #E4DB8E
RGB: (228,219,142)
#E4DB8E contains mainly red and green colors. Web safe color of #E4DB8E is #CCCC99 (or #CC9).
#E4DB8E color RGB value is (228,219,142).
RGB: (228,219,142) (89%,86%,56%)
R 228 of 255 = 89%
G 219 of 255 = 86%
B 142 of 255 = 56%
R + G + B ~ 77%. #E4DB8E is quite light color.
R + G + B =
228 + 219 + 142 = 589 (100%)
R 228 of 589 ~ 38.71%
G 219 of 589 ~ 37.18%
B 142 of 589 ~ 24.11%
#E4DB8E color CMYK value is (0,4,38,11).
CMYK: (0,4,38,11) C0M4Y38K11 (0%,4%,38%,11%) (0.00/0.04/0.38/0.11)
E4 | DB | 8E | |
---|---|---|---|
RGB | 228 | 219 | 142 |
HSL | 54° | 61.43% | 72.55% |
HSB/HSV | 54° | 37.72% | 89.41% |
CMYK | 0.00% | 3.95% | 37.72% |
10.59% |
HEX | E4 | DB | 8E |
Decimal | 228 | 219 | 142 |
Binary | 11100100 | 11011011 | 10001110 |
Octal | 344 | 333 | 216 |
Examples of css and html codes for elements with #E4DB8E color. Also use rgb(228,219,142) instead hex code.
.myTextColor { color: #E4DB8E; }
<p style="color:#E4DB8E">This sample text font color is #E4DB8E.</p>
This text font color is #E4DB8E.
.myBgColor { background-color: #E4DB8E; }
<div style="background-color:#E4DB8E">Inner text</div>
This div background color is #E4DB8E.
.myBorderColor { border: 1px solid #E4DB8E; }
<div style="border:3px solid #E4DB8E">Div</div>
This div border color is #E4DB8E.
.myOpacity80 { color: #E4DB8E; opacity: 0.8; }
<p style="color:#E4DB8E;opacity:0.8;">80%</p>
Text with #E4DB8E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4DB8E;}
<p style="text-shadow: 3px 3px 1px #E4DB8E">Text here.</p>
This text has shadow with #E4DB8E color.
.textShadow {text-shadow: 3px 3px 1px #E4DB8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4DB8E, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4DB8E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4DB8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4DB8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4DB8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4DB8E; -webkit-box-shadow: 1px 1px 3px 2px #E4DB8E; box-shadow: 1px 1px 3px 2px #E4DB8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4DB8E; -webkit-box-shadow: 1px 1px 3px 2px #E4DB8E; box-shadow:1px 1px 3px 2px #E4DB8E;">
Div content here</div>
This text has color #E4DB8E on black background.
This text has color #E4DB8E on white background.
This text has black color on #E4DB8E background.
This text has white color on #E4DB8E background.