HEX: #E2A20C
RGB: (226,162,12)
#E2A20C contains mainly red color. Web safe color of #E2A20C is #CC9900 (or #C90).
#E2A20C color RGB value is (226,162,12).
RGB: (226,162,12) (89%,64%,5%)
R 226 of 255 = 89%
G 162 of 255 = 64%
B 12 of 255 = 5%
R + G + B ~ 53%. #E2A20C is middle color (not dark and not light).
R + G + B =
226 + 162 + 12 = 400 (100%)
R 226 of 400 ~ 56.5%
G 162 of 400 ~ 40.5%
B 12 of 400 ~ 3%
#E2A20C color CMYK value is (0,28,95,11).
CMYK: (0,28,95,11) C0M28Y95K11 (0%,28%,95%,11%) (0.00/0.28/0.95/0.11)
E2 | A2 | 0C | |
---|---|---|---|
RGB | 226 | 162 | 12 |
HSL | 42° | 89.92% | 46.67% |
HSB/HSV | 42° | 94.69% | 88.63% |
CMYK | 0.00% | 28.32% | 94.69% |
11.37% |
HEX | E2 | A2 | 0C |
Decimal | 226 | 162 | 12 |
Binary | 11100010 | 10100010 | 1100 |
Octal | 342 | 242 | 14 |
Examples of css and html codes for elements with #E2A20C color. Also use rgb(226,162,12) instead hex code.
.myTextColor { color: #E2A20C; }
<p style="color:#E2A20C">This sample text font color is #E2A20C.</p>
This text font color is #E2A20C.
.myBgColor { background-color: #E2A20C; }
<div style="background-color:#E2A20C">Inner text</div>
This div background color is #E2A20C.
.myBorderColor { border: 1px solid #E2A20C; }
<div style="border:3px solid #E2A20C">Div</div>
This div border color is #E2A20C.
.myOpacity80 { color: #E2A20C; opacity: 0.8; }
<p style="color:#E2A20C;opacity:0.8;">80%</p>
Text with #E2A20C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2A20C;}
<p style="text-shadow: 3px 3px 1px #E2A20C">Text here.</p>
This text has shadow with #E2A20C color.
.textShadow {text-shadow: 3px 3px 1px #E2A20C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2A20C, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2A20C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2A20C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2A20C, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2A20C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2A20C; -webkit-box-shadow: 1px 1px 3px 2px #E2A20C; box-shadow: 1px 1px 3px 2px #E2A20C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2A20C; -webkit-box-shadow: 1px 1px 3px 2px #E2A20C; box-shadow:1px 1px 3px 2px #E2A20C;">
Div content here</div>
This text has color #E2A20C on black background.
This text has color #E2A20C on white background.
This text has black color on #E2A20C background.
This text has white color on #E2A20C background.