HEX: #E4DC1B
RGB: (228,220,27)
#E4DC1B contains mainly red and green colors. Web safe color of #E4DC1B is #CCCC33 (or #CC3).
#E4DC1B color RGB value is (228,220,27).
RGB: (228,220,27) (89%,86%,11%)
R 228 of 255 = 89%
G 220 of 255 = 86%
B 27 of 255 = 11%
R + G + B ~ 62%. #E4DC1B is quite light color.
R + G + B =
228 + 220 + 27 = 475 (100%)
R 228 of 475 ~ 48%
G 220 of 475 ~ 46.32%
B 27 of 475 ~ 5.68%
#E4DC1B color CMYK value is (0,4,88,11).
CMYK: (0,4,88,11) C0M4Y88K11 (0%,4%,88%,11%) (0.00/0.04/0.88/0.11)
E4 | DC | 1B | |
---|---|---|---|
RGB | 228 | 220 | 27 |
HSL | 58° | 78.82% | 50.00% |
HSB/HSV | 58° | 88.16% | 89.41% |
CMYK | 0.00% | 3.51% | 88.16% |
10.59% |
HEX | E4 | DC | 1B |
Decimal | 228 | 220 | 27 |
Binary | 11100100 | 11011100 | 11011 |
Octal | 344 | 334 | 33 |
Examples of css and html codes for elements with #E4DC1B color. Also use rgb(228,220,27) instead hex code.
.myTextColor { color: #E4DC1B; }
<p style="color:#E4DC1B">This sample text font color is #E4DC1B.</p>
This text font color is #E4DC1B.
.myBgColor { background-color: #E4DC1B; }
<div style="background-color:#E4DC1B">Inner text</div>
This div background color is #E4DC1B.
.myBorderColor { border: 1px solid #E4DC1B; }
<div style="border:3px solid #E4DC1B">Div</div>
This div border color is #E4DC1B.
.myOpacity80 { color: #E4DC1B; opacity: 0.8; }
<p style="color:#E4DC1B;opacity:0.8;">80%</p>
Text with #E4DC1B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4DC1B;}
<p style="text-shadow: 3px 3px 1px #E4DC1B">Text here.</p>
This text has shadow with #E4DC1B color.
.textShadow {text-shadow: 3px 3px 1px #E4DC1B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4DC1B, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4DC1B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4DC1B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4DC1B, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4DC1B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4DC1B; -webkit-box-shadow: 1px 1px 3px 2px #E4DC1B; box-shadow: 1px 1px 3px 2px #E4DC1B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4DC1B; -webkit-box-shadow: 1px 1px 3px 2px #E4DC1B; box-shadow:1px 1px 3px 2px #E4DC1B;">
Div content here</div>
This text has color #E4DC1B on black background.
This text has color #E4DC1B on white background.
This text has black color on #E4DC1B background.
This text has white color on #E4DC1B background.