HEX: #E4D947
RGB: (228,217,71)
#E4D947 contains mainly red and green colors. Web safe color of #E4D947 is #CCCC33 (or #CC3).
#E4D947 color RGB value is (228,217,71).
RGB: (228,217,71) (89%,85%,28%)
R 228 of 255 = 89%
G 217 of 255 = 85%
B 71 of 255 = 28%
R + G + B ~ 67%. #E4D947 is quite light color.
R + G + B =
228 + 217 + 71 = 516 (100%)
R 228 of 516 ~ 44.19%
G 217 of 516 ~ 42.05%
B 71 of 516 ~ 13.76%
#E4D947 color CMYK value is (0,5,69,11).
CMYK: (0,5,69,11) C0M5Y69K11 (0%,5%,69%,11%) (0.00/0.05/0.69/0.11)
E4 | D9 | 47 | |
---|---|---|---|
RGB | 228 | 217 | 71 |
HSL | 56° | 74.41% | 58.63% |
HSB/HSV | 56° | 68.86% | 89.41% |
CMYK | 0.00% | 4.82% | 68.86% |
10.59% |
HEX | E4 | D9 | 47 |
Decimal | 228 | 217 | 71 |
Binary | 11100100 | 11011001 | 1000111 |
Octal | 344 | 331 | 107 |
Examples of css and html codes for elements with #E4D947 color. Also use rgb(228,217,71) instead hex code.
.myTextColor { color: #E4D947; }
<p style="color:#E4D947">This sample text font color is #E4D947.</p>
This text font color is #E4D947.
.myBgColor { background-color: #E4D947; }
<div style="background-color:#E4D947">Inner text</div>
This div background color is #E4D947.
.myBorderColor { border: 1px solid #E4D947; }
<div style="border:3px solid #E4D947">Div</div>
This div border color is #E4D947.
.myOpacity80 { color: #E4D947; opacity: 0.8; }
<p style="color:#E4D947;opacity:0.8;">80%</p>
Text with #E4D947 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4D947;}
<p style="text-shadow: 3px 3px 1px #E4D947">Text here.</p>
This text has shadow with #E4D947 color.
.textShadow {text-shadow: 3px 3px 1px #E4D947, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4D947, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4D947 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4D947, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4D947, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4D947 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4D947; -webkit-box-shadow: 1px 1px 3px 2px #E4D947; box-shadow: 1px 1px 3px 2px #E4D947; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4D947; -webkit-box-shadow: 1px 1px 3px 2px #E4D947; box-shadow:1px 1px 3px 2px #E4D947;">
Div content here</div>
This text has color #E4D947 on black background.
This text has color #E4D947 on white background.
This text has black color on #E4D947 background.
This text has white color on #E4D947 background.