HEX: #E4D871
RGB: (228,216,113)
#E4D871 contains mainly red and green colors. Web safe color of #E4D871 is #CCCC66 (or #CC6).
#E4D871 color RGB value is (228,216,113).
RGB: (228,216,113) (89%,85%,44%)
R 228 of 255 = 89%
G 216 of 255 = 85%
B 113 of 255 = 44%
R + G + B ~ 73%. #E4D871 is quite light color.
R + G + B =
228 + 216 + 113 = 557 (100%)
R 228 of 557 ~ 40.93%
G 216 of 557 ~ 38.78%
B 113 of 557 ~ 20.29%
#E4D871 color CMYK value is (0,5,50,11).
CMYK: (0,5,50,11) C0M5Y50K11 (0%,5%,50%,11%) (0.00/0.05/0.50/0.11)
E4 | D8 | 71 | |
---|---|---|---|
RGB | 228 | 216 | 113 |
HSL | 54° | 68.05% | 66.86% |
HSB/HSV | 54° | 50.44% | 89.41% |
CMYK | 0.00% | 5.26% | 50.44% |
10.59% |
HEX | E4 | D8 | 71 |
Decimal | 228 | 216 | 113 |
Binary | 11100100 | 11011000 | 1110001 |
Octal | 344 | 330 | 161 |
Examples of css and html codes for elements with #E4D871 color. Also use rgb(228,216,113) instead hex code.
.myTextColor { color: #E4D871; }
<p style="color:#E4D871">This sample text font color is #E4D871.</p>
This text font color is #E4D871.
.myBgColor { background-color: #E4D871; }
<div style="background-color:#E4D871">Inner text</div>
This div background color is #E4D871.
.myBorderColor { border: 1px solid #E4D871; }
<div style="border:3px solid #E4D871">Div</div>
This div border color is #E4D871.
.myOpacity80 { color: #E4D871; opacity: 0.8; }
<p style="color:#E4D871;opacity:0.8;">80%</p>
Text with #E4D871 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4D871;}
<p style="text-shadow: 3px 3px 1px #E4D871">Text here.</p>
This text has shadow with #E4D871 color.
.textShadow {text-shadow: 3px 3px 1px #E4D871, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4D871, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4D871 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4D871, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4D871, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4D871 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4D871; -webkit-box-shadow: 1px 1px 3px 2px #E4D871; box-shadow: 1px 1px 3px 2px #E4D871; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4D871; -webkit-box-shadow: 1px 1px 3px 2px #E4D871; box-shadow:1px 1px 3px 2px #E4D871;">
Div content here</div>
This text has color #E4D871 on black background.
This text has color #E4D871 on white background.
This text has black color on #E4D871 background.
This text has white color on #E4D871 background.