HEX: #E2D8AB
RGB: (226,216,171)
#E2D8AB contains red, green and blue colors in about the same proportion. Web safe color of #E2D8AB is #CCCC99 (or #CC9).
#E2D8AB color RGB value is (226,216,171).
RGB: (226,216,171) (89%,85%,67%)
R 226 of 255 = 89%
G 216 of 255 = 85%
B 171 of 255 = 67%
R + G + B ~ 80%. #E2D8AB is quite light color.
R + G + B =
226 + 216 + 171 = 613 (100%)
R 226 of 613 ~ 36.87%
G 216 of 613 ~ 35.24%
B 171 of 613 ~ 27.9%
#E2D8AB color CMYK value is (0,4,24,11).
CMYK: (0,4,24,11) C0M4Y24K11 (0%,4%,24%,11%) (0.00/0.04/0.24/0.11)
E2 | D8 | AB | |
---|---|---|---|
RGB | 226 | 216 | 171 |
HSL | 49° | 48.67% | 77.84% |
HSB/HSV | 49° | 24.34% | 88.63% |
CMYK | 0.00% | 4.42% | 24.34% |
11.37% |
HEX | E2 | D8 | AB |
Decimal | 226 | 216 | 171 |
Binary | 11100010 | 11011000 | 10101011 |
Octal | 342 | 330 | 253 |
Examples of css and html codes for elements with #E2D8AB color. Also use rgb(226,216,171) instead hex code.
.myTextColor { color: #E2D8AB; }
<p style="color:#E2D8AB">This sample text font color is #E2D8AB.</p>
This text font color is #E2D8AB.
.myBgColor { background-color: #E2D8AB; }
<div style="background-color:#E2D8AB">Inner text</div>
This div background color is #E2D8AB.
.myBorderColor { border: 1px solid #E2D8AB; }
<div style="border:3px solid #E2D8AB">Div</div>
This div border color is #E2D8AB.
.myOpacity80 { color: #E2D8AB; opacity: 0.8; }
<p style="color:#E2D8AB;opacity:0.8;">80%</p>
Text with #E2D8AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2D8AB;}
<p style="text-shadow: 3px 3px 1px #E2D8AB">Text here.</p>
This text has shadow with #E2D8AB color.
.textShadow {text-shadow: 3px 3px 1px #E2D8AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2D8AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2D8AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2D8AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2D8AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2D8AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2D8AB; -webkit-box-shadow: 1px 1px 3px 2px #E2D8AB; box-shadow: 1px 1px 3px 2px #E2D8AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2D8AB; -webkit-box-shadow: 1px 1px 3px 2px #E2D8AB; box-shadow:1px 1px 3px 2px #E2D8AB;">
Div content here</div>
This text has color #E2D8AB on black background.
This text has color #E2D8AB on white background.
This text has black color on #E2D8AB background.
This text has white color on #E2D8AB background.