HEX: #E2D957
RGB: (226,217,87)
#E2D957 contains mainly red and green colors. Web safe color of #E2D957 is #CCCC66 (or #CC6).
#E2D957 color RGB value is (226,217,87).
RGB: (226,217,87) (89%,85%,34%)
R 226 of 255 = 89%
G 217 of 255 = 85%
B 87 of 255 = 34%
R + G + B ~ 69%. #E2D957 is quite light color.
R + G + B =
226 + 217 + 87 = 530 (100%)
R 226 of 530 ~ 42.64%
G 217 of 530 ~ 40.94%
B 87 of 530 ~ 16.42%
#E2D957 color CMYK value is (0,4,62,11).
CMYK: (0,4,62,11) C0M4Y62K11 (0%,4%,62%,11%) (0.00/0.04/0.62/0.11)
E2 | D9 | 57 | |
---|---|---|---|
RGB | 226 | 217 | 87 |
HSL | 56° | 70.56% | 61.37% |
HSB/HSV | 56° | 61.50% | 88.63% |
CMYK | 0.00% | 3.98% | 61.50% |
11.37% |
HEX | E2 | D9 | 57 |
Decimal | 226 | 217 | 87 |
Binary | 11100010 | 11011001 | 1010111 |
Octal | 342 | 331 | 127 |
Examples of css and html codes for elements with #E2D957 color. Also use rgb(226,217,87) instead hex code.
.myTextColor { color: #E2D957; }
<p style="color:#E2D957">This sample text font color is #E2D957.</p>
This text font color is #E2D957.
.myBgColor { background-color: #E2D957; }
<div style="background-color:#E2D957">Inner text</div>
This div background color is #E2D957.
.myBorderColor { border: 1px solid #E2D957; }
<div style="border:3px solid #E2D957">Div</div>
This div border color is #E2D957.
.myOpacity80 { color: #E2D957; opacity: 0.8; }
<p style="color:#E2D957;opacity:0.8;">80%</p>
Text with #E2D957 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2D957;}
<p style="text-shadow: 3px 3px 1px #E2D957">Text here.</p>
This text has shadow with #E2D957 color.
.textShadow {text-shadow: 3px 3px 1px #E2D957, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2D957, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2D957 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2D957, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2D957, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2D957 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2D957; -webkit-box-shadow: 1px 1px 3px 2px #E2D957; box-shadow: 1px 1px 3px 2px #E2D957; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2D957; -webkit-box-shadow: 1px 1px 3px 2px #E2D957; box-shadow:1px 1px 3px 2px #E2D957;">
Div content here</div>
This text has color #E2D957 on black background.
This text has color #E2D957 on white background.
This text has black color on #E2D957 background.
This text has white color on #E2D957 background.