HEX: #E4C22D
RGB: (228,194,45)
#E4C22D contains mainly red and green colors. Web safe color of #E4C22D is #CCCC33 (or #CC3).
#E4C22D color RGB value is (228,194,45).
RGB: (228,194,45) (89%,76%,18%)
R 228 of 255 = 89%
G 194 of 255 = 76%
B 45 of 255 = 18%
R + G + B ~ 61%. #E4C22D is quite light color.
R + G + B =
228 + 194 + 45 = 467 (100%)
R 228 of 467 ~ 48.82%
G 194 of 467 ~ 41.54%
B 45 of 467 ~ 9.64%
#E4C22D color CMYK value is (0,15,80,11).
CMYK: (0,15,80,11) C0M15Y80K11 (0%,15%,80%,11%) (0.00/0.15/0.80/0.11)
E4 | C2 | 2D | |
---|---|---|---|
RGB | 228 | 194 | 45 |
HSL | 49° | 77.22% | 53.53% |
HSB/HSV | 49° | 80.26% | 89.41% |
CMYK | 0.00% | 14.91% | 80.26% |
10.59% |
HEX | E4 | C2 | 2D |
Decimal | 228 | 194 | 45 |
Binary | 11100100 | 11000010 | 101101 |
Octal | 344 | 302 | 55 |
Examples of css and html codes for elements with #E4C22D color. Also use rgb(228,194,45) instead hex code.
.myTextColor { color: #E4C22D; }
<p style="color:#E4C22D">This sample text font color is #E4C22D.</p>
This text font color is #E4C22D.
.myBgColor { background-color: #E4C22D; }
<div style="background-color:#E4C22D">Inner text</div>
This div background color is #E4C22D.
.myBorderColor { border: 1px solid #E4C22D; }
<div style="border:3px solid #E4C22D">Div</div>
This div border color is #E4C22D.
.myOpacity80 { color: #E4C22D; opacity: 0.8; }
<p style="color:#E4C22D;opacity:0.8;">80%</p>
Text with #E4C22D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4C22D;}
<p style="text-shadow: 3px 3px 1px #E4C22D">Text here.</p>
This text has shadow with #E4C22D color.
.textShadow {text-shadow: 3px 3px 1px #E4C22D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4C22D, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4C22D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4C22D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4C22D, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4C22D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4C22D; -webkit-box-shadow: 1px 1px 3px 2px #E4C22D; box-shadow: 1px 1px 3px 2px #E4C22D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4C22D; -webkit-box-shadow: 1px 1px 3px 2px #E4C22D; box-shadow:1px 1px 3px 2px #E4C22D;">
Div content here</div>
This text has color #E4C22D on black background.
This text has color #E4C22D on white background.
This text has black color on #E4C22D background.
This text has white color on #E4C22D background.