HEX: #E2A006
RGB: (226,160,6)
#E2A006 contains mainly red color. Web safe color of #E2A006 is #CC9900 (or #C90).
#E2A006 color RGB value is (226,160,6).
RGB: (226,160,6) (89%,63%,2%)
R 226 of 255 = 89%
G 160 of 255 = 63%
B 6 of 255 = 2%
R + G + B ~ 51%. #E2A006 is middle color (not dark and not light).
R + G + B =
226 + 160 + 6 = 392 (100%)
R 226 of 392 ~ 57.65%
G 160 of 392 ~ 40.82%
B 6 of 392 ~ 1.53%
#E2A006 color CMYK value is (0,29,97,11).
CMYK: (0,29,97,11) C0M29Y97K11 (0%,29%,97%,11%) (0.00/0.29/0.97/0.11)
E2 | A0 | 06 | |
---|---|---|---|
RGB | 226 | 160 | 6 |
HSL | 42° | 94.83% | 45.49% |
HSB/HSV | 42° | 97.35% | 88.63% |
CMYK | 0.00% | 29.20% | 97.35% |
11.37% |
HEX | E2 | A0 | 06 |
Decimal | 226 | 160 | 6 |
Binary | 11100010 | 10100000 | 110 |
Octal | 342 | 240 | 6 |
Examples of css and html codes for elements with #E2A006 color. Also use rgb(226,160,6) instead hex code.
.myTextColor { color: #E2A006; }
<p style="color:#E2A006">This sample text font color is #E2A006.</p>
This text font color is #E2A006.
.myBgColor { background-color: #E2A006; }
<div style="background-color:#E2A006">Inner text</div>
This div background color is #E2A006.
.myBorderColor { border: 1px solid #E2A006; }
<div style="border:3px solid #E2A006">Div</div>
This div border color is #E2A006.
.myOpacity80 { color: #E2A006; opacity: 0.8; }
<p style="color:#E2A006;opacity:0.8;">80%</p>
Text with #E2A006 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2A006;}
<p style="text-shadow: 3px 3px 1px #E2A006">Text here.</p>
This text has shadow with #E2A006 color.
.textShadow {text-shadow: 3px 3px 1px #E2A006, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2A006, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2A006 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2A006, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2A006, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2A006 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2A006; -webkit-box-shadow: 1px 1px 3px 2px #E2A006; box-shadow: 1px 1px 3px 2px #E2A006; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2A006; -webkit-box-shadow: 1px 1px 3px 2px #E2A006; box-shadow:1px 1px 3px 2px #E2A006;">
Div content here</div>
This text has color #E2A006 on black background.
This text has color #E2A006 on white background.
This text has black color on #E2A006 background.
This text has white color on #E2A006 background.