HEX: #E1D42E
RGB: (225,212,46)
#E1D42E contains mainly red and green colors. Web safe color of #E1D42E is #CCCC33 (or #CC3).
#E1D42E color RGB value is (225,212,46).
RGB: (225,212,46) (88%,83%,18%)
R 225 of 255 = 88%
G 212 of 255 = 83%
B 46 of 255 = 18%
R + G + B ~ 63%. #E1D42E is quite light color.
R + G + B =
225 + 212 + 46 = 483 (100%)
R 225 of 483 ~ 46.58%
G 212 of 483 ~ 43.89%
B 46 of 483 ~ 9.52%
#E1D42E color CMYK value is (0,6,80,12).
CMYK: (0,6,80,12) C0M6Y80K12 (0%,6%,80%,12%) (0.00/0.06/0.80/0.12)
E1 | D4 | 2E | |
---|---|---|---|
RGB | 225 | 212 | 46 |
HSL | 56° | 74.90% | 53.14% |
HSB/HSV | 56° | 79.56% | 88.24% |
CMYK | 0.00% | 5.78% | 79.56% |
11.76% |
HEX | E1 | D4 | 2E |
Decimal | 225 | 212 | 46 |
Binary | 11100001 | 11010100 | 101110 |
Octal | 341 | 324 | 56 |
Examples of css and html codes for elements with #E1D42E color. Also use rgb(225,212,46) instead hex code.
.myTextColor { color: #E1D42E; }
<p style="color:#E1D42E">This sample text font color is #E1D42E.</p>
This text font color is #E1D42E.
.myBgColor { background-color: #E1D42E; }
<div style="background-color:#E1D42E">Inner text</div>
This div background color is #E1D42E.
.myBorderColor { border: 1px solid #E1D42E; }
<div style="border:3px solid #E1D42E">Div</div>
This div border color is #E1D42E.
.myOpacity80 { color: #E1D42E; opacity: 0.8; }
<p style="color:#E1D42E;opacity:0.8;">80%</p>
Text with #E1D42E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E1D42E;}
<p style="text-shadow: 3px 3px 1px #E1D42E">Text here.</p>
This text has shadow with #E1D42E color.
.textShadow {text-shadow: 3px 3px 1px #E1D42E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E1D42E, 5px 5px 20px red">Text here.</p>
This text has shadow with #E1D42E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E1D42E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E1D42E, Direction=45, Strength=4)">Text</p>
This text has shadow with #E1D42E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E1D42E; -webkit-box-shadow: 1px 1px 3px 2px #E1D42E; box-shadow: 1px 1px 3px 2px #E1D42E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E1D42E; -webkit-box-shadow: 1px 1px 3px 2px #E1D42E; box-shadow:1px 1px 3px 2px #E1D42E;">
Div content here</div>
This text has color #E1D42E on black background.
This text has color #E1D42E on white background.
This text has black color on #E1D42E background.
This text has white color on #E1D42E background.