HEX: #E2D306
RGB: (226,211,6)
#E2D306 contains mainly red and green colors. Web safe color of #E2D306 is #CCCC00 (or #CC0).
#E2D306 color RGB value is (226,211,6).
RGB: (226,211,6) (89%,83%,2%)
R 226 of 255 = 89%
G 211 of 255 = 83%
B 6 of 255 = 2%
R + G + B ~ 58%. #E2D306 is middle color (not dark and not light).
R + G + B =
226 + 211 + 6 = 443 (100%)
R 226 of 443 ~ 51.02%
G 211 of 443 ~ 47.63%
B 6 of 443 ~ 1.35%
#E2D306 color CMYK value is (0,7,97,11).
CMYK: (0,7,97,11) C0M7Y97K11 (0%,7%,97%,11%) (0.00/0.07/0.97/0.11)
E2 | D3 | 06 | |
---|---|---|---|
RGB | 226 | 211 | 6 |
HSL | 56° | 94.83% | 45.49% |
HSB/HSV | 56° | 97.35% | 88.63% |
CMYK | 0.00% | 6.64% | 97.35% |
11.37% |
HEX | E2 | D3 | 06 |
Decimal | 226 | 211 | 6 |
Binary | 11100010 | 11010011 | 110 |
Octal | 342 | 323 | 6 |
Examples of css and html codes for elements with #E2D306 color. Also use rgb(226,211,6) instead hex code.
.myTextColor { color: #E2D306; }
<p style="color:#E2D306">This sample text font color is #E2D306.</p>
This text font color is #E2D306.
.myBgColor { background-color: #E2D306; }
<div style="background-color:#E2D306">Inner text</div>
This div background color is #E2D306.
.myBorderColor { border: 1px solid #E2D306; }
<div style="border:3px solid #E2D306">Div</div>
This div border color is #E2D306.
.myOpacity80 { color: #E2D306; opacity: 0.8; }
<p style="color:#E2D306;opacity:0.8;">80%</p>
Text with #E2D306 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2D306;}
<p style="text-shadow: 3px 3px 1px #E2D306">Text here.</p>
This text has shadow with #E2D306 color.
.textShadow {text-shadow: 3px 3px 1px #E2D306, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2D306, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2D306 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2D306, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2D306, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2D306 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2D306; -webkit-box-shadow: 1px 1px 3px 2px #E2D306; box-shadow: 1px 1px 3px 2px #E2D306; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2D306; -webkit-box-shadow: 1px 1px 3px 2px #E2D306; box-shadow:1px 1px 3px 2px #E2D306;">
Div content here</div>
This text has color #E2D306 on black background.
This text has color #E2D306 on white background.
This text has black color on #E2D306 background.
This text has white color on #E2D306 background.