HEX: #E1D796
RGB: (225,215,150)
#E1D796 contains mainly red and green colors. Web safe color of #E1D796 is #CCCC99 (or #CC9).
#E1D796 color RGB value is (225,215,150).
RGB: (225,215,150) (88%,84%,59%)
R 225 of 255 = 88%
G 215 of 255 = 84%
B 150 of 255 = 59%
R + G + B ~ 77%. #E1D796 is quite light color.
R + G + B =
225 + 215 + 150 = 590 (100%)
R 225 of 590 ~ 38.14%
G 215 of 590 ~ 36.44%
B 150 of 590 ~ 25.42%
#E1D796 color CMYK value is (0,4,33,12).
CMYK: (0,4,33,12) C0M4Y33K12 (0%,4%,33%,12%) (0.00/0.04/0.33/0.12)
E1 | D7 | 96 | |
---|---|---|---|
RGB | 225 | 215 | 150 |
HSL | 52° | 55.56% | 73.53% |
HSB/HSV | 52° | 33.33% | 88.24% |
CMYK | 0.00% | 4.44% | 33.33% |
11.76% |
HEX | E1 | D7 | 96 |
Decimal | 225 | 215 | 150 |
Binary | 11100001 | 11010111 | 10010110 |
Octal | 341 | 327 | 226 |
Examples of css and html codes for elements with #E1D796 color. Also use rgb(225,215,150) instead hex code.
.myTextColor { color: #E1D796; }
<p style="color:#E1D796">This sample text font color is #E1D796.</p>
This text font color is #E1D796.
.myBgColor { background-color: #E1D796; }
<div style="background-color:#E1D796">Inner text</div>
This div background color is #E1D796.
.myBorderColor { border: 1px solid #E1D796; }
<div style="border:3px solid #E1D796">Div</div>
This div border color is #E1D796.
.myOpacity80 { color: #E1D796; opacity: 0.8; }
<p style="color:#E1D796;opacity:0.8;">80%</p>
Text with #E1D796 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E1D796;}
<p style="text-shadow: 3px 3px 1px #E1D796">Text here.</p>
This text has shadow with #E1D796 color.
.textShadow {text-shadow: 3px 3px 1px #E1D796, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E1D796, 5px 5px 20px red">Text here.</p>
This text has shadow with #E1D796 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E1D796, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E1D796, Direction=45, Strength=4)">Text</p>
This text has shadow with #E1D796 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E1D796; -webkit-box-shadow: 1px 1px 3px 2px #E1D796; box-shadow: 1px 1px 3px 2px #E1D796; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E1D796; -webkit-box-shadow: 1px 1px 3px 2px #E1D796; box-shadow:1px 1px 3px 2px #E1D796;">
Div content here</div>
This text has color #E1D796 on black background.
This text has color #E1D796 on white background.
This text has black color on #E1D796 background.
This text has white color on #E1D796 background.