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