HEX: #E1D31C
RGB: (225,211,28)
#E1D31C contains mainly red and green colors. Web safe color of #E1D31C is #CCCC33 (or #CC3).
#E1D31C color RGB value is (225,211,28).
RGB: (225,211,28) (88%,83%,11%)
R 225 of 255 = 88%
G 211 of 255 = 83%
B 28 of 255 = 11%
R + G + B ~ 61%. #E1D31C is quite light color.
R + G + B =
225 + 211 + 28 = 464 (100%)
R 225 of 464 ~ 48.49%
G 211 of 464 ~ 45.47%
B 28 of 464 ~ 6.03%
#E1D31C color CMYK value is (0,6,88,12).
CMYK: (0,6,88,12) C0M6Y88K12 (0%,6%,88%,12%) (0.00/0.06/0.88/0.12)
E1 | D3 | 1C | |
---|---|---|---|
RGB | 225 | 211 | 28 |
HSL | 56° | 77.87% | 49.61% |
HSB/HSV | 56° | 87.56% | 88.24% |
CMYK | 0.00% | 6.22% | 87.56% |
11.76% |
HEX | E1 | D3 | 1C |
Decimal | 225 | 211 | 28 |
Binary | 11100001 | 11010011 | 11100 |
Octal | 341 | 323 | 34 |
Examples of css and html codes for elements with #E1D31C color. Also use rgb(225,211,28) instead hex code.
.myTextColor { color: #E1D31C; }
<p style="color:#E1D31C">This sample text font color is #E1D31C.</p>
This text font color is #E1D31C.
.myBgColor { background-color: #E1D31C; }
<div style="background-color:#E1D31C">Inner text</div>
This div background color is #E1D31C.
.myBorderColor { border: 1px solid #E1D31C; }
<div style="border:3px solid #E1D31C">Div</div>
This div border color is #E1D31C.
.myOpacity80 { color: #E1D31C; opacity: 0.8; }
<p style="color:#E1D31C;opacity:0.8;">80%</p>
Text with #E1D31C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E1D31C;}
<p style="text-shadow: 3px 3px 1px #E1D31C">Text here.</p>
This text has shadow with #E1D31C color.
.textShadow {text-shadow: 3px 3px 1px #E1D31C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E1D31C, 5px 5px 20px red">Text here.</p>
This text has shadow with #E1D31C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E1D31C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E1D31C, Direction=45, Strength=4)">Text</p>
This text has shadow with #E1D31C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E1D31C; -webkit-box-shadow: 1px 1px 3px 2px #E1D31C; box-shadow: 1px 1px 3px 2px #E1D31C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E1D31C; -webkit-box-shadow: 1px 1px 3px 2px #E1D31C; box-shadow:1px 1px 3px 2px #E1D31C;">
Div content here</div>
This text has color #E1D31C on black background.
This text has color #E1D31C on white background.
This text has black color on #E1D31C background.
This text has white color on #E1D31C background.