HEX: #E2D78C
RGB: (226,215,140)
#E2D78C contains mainly red and green colors. Web safe color of #E2D78C is #CCCC99 (or #CC9).
#E2D78C color RGB value is (226,215,140).
RGB: (226,215,140) (89%,84%,55%)
R 226 of 255 = 89%
G 215 of 255 = 84%
B 140 of 255 = 55%
R + G + B ~ 76%. #E2D78C is quite light color.
R + G + B =
226 + 215 + 140 = 581 (100%)
R 226 of 581 ~ 38.9%
G 215 of 581 ~ 37.01%
B 140 of 581 ~ 24.1%
#E2D78C color CMYK value is (0,5,38,11).
CMYK: (0,5,38,11) C0M5Y38K11 (0%,5%,38%,11%) (0.00/0.05/0.38/0.11)
E2 | D7 | 8C | |
---|---|---|---|
RGB | 226 | 215 | 140 |
HSL | 52° | 59.72% | 71.76% |
HSB/HSV | 52° | 38.05% | 88.63% |
CMYK | 0.00% | 4.87% | 38.05% |
11.37% |
HEX | E2 | D7 | 8C |
Decimal | 226 | 215 | 140 |
Binary | 11100010 | 11010111 | 10001100 |
Octal | 342 | 327 | 214 |
Examples of css and html codes for elements with #E2D78C color. Also use rgb(226,215,140) instead hex code.
.myTextColor { color: #E2D78C; }
<p style="color:#E2D78C">This sample text font color is #E2D78C.</p>
This text font color is #E2D78C.
.myBgColor { background-color: #E2D78C; }
<div style="background-color:#E2D78C">Inner text</div>
This div background color is #E2D78C.
.myBorderColor { border: 1px solid #E2D78C; }
<div style="border:3px solid #E2D78C">Div</div>
This div border color is #E2D78C.
.myOpacity80 { color: #E2D78C; opacity: 0.8; }
<p style="color:#E2D78C;opacity:0.8;">80%</p>
Text with #E2D78C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2D78C;}
<p style="text-shadow: 3px 3px 1px #E2D78C">Text here.</p>
This text has shadow with #E2D78C color.
.textShadow {text-shadow: 3px 3px 1px #E2D78C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2D78C, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2D78C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2D78C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2D78C, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2D78C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2D78C; -webkit-box-shadow: 1px 1px 3px 2px #E2D78C; box-shadow: 1px 1px 3px 2px #E2D78C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2D78C; -webkit-box-shadow: 1px 1px 3px 2px #E2D78C; box-shadow:1px 1px 3px 2px #E2D78C;">
Div content here</div>
This text has color #E2D78C on black background.
This text has color #E2D78C on white background.
This text has black color on #E2D78C background.
This text has white color on #E2D78C background.