HEX: #E2A142
RGB: (226,161,66)
#E2A142 contains mainly red color. Web safe color of #E2A142 is #CC9933 (or #C93).
#E2A142 color RGB value is (226,161,66).
RGB: (226,161,66) (89%,63%,26%)
R 226 of 255 = 89%
G 161 of 255 = 63%
B 66 of 255 = 26%
R + G + B ~ 59%. #E2A142 is middle color (not dark and not light).
R + G + B =
226 + 161 + 66 = 453 (100%)
R 226 of 453 ~ 49.89%
G 161 of 453 ~ 35.54%
B 66 of 453 ~ 14.57%
#E2A142 color CMYK value is (0,29,71,11).
CMYK: (0,29,71,11) C0M29Y71K11 (0%,29%,71%,11%) (0.00/0.29/0.71/0.11)
E2 | A1 | 42 | |
---|---|---|---|
RGB | 226 | 161 | 66 |
HSL | 36° | 73.39% | 57.25% |
HSB/HSV | 36° | 70.80% | 88.63% |
CMYK | 0.00% | 28.76% | 70.80% |
11.37% |
HEX | E2 | A1 | 42 |
Decimal | 226 | 161 | 66 |
Binary | 11100010 | 10100001 | 1000010 |
Octal | 342 | 241 | 102 |
Examples of css and html codes for elements with #E2A142 color. Also use rgb(226,161,66) instead hex code.
.myTextColor { color: #E2A142; }
<p style="color:#E2A142">This sample text font color is #E2A142.</p>
This text font color is #E2A142.
.myBgColor { background-color: #E2A142; }
<div style="background-color:#E2A142">Inner text</div>
This div background color is #E2A142.
.myBorderColor { border: 1px solid #E2A142; }
<div style="border:3px solid #E2A142">Div</div>
This div border color is #E2A142.
.myOpacity80 { color: #E2A142; opacity: 0.8; }
<p style="color:#E2A142;opacity:0.8;">80%</p>
Text with #E2A142 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2A142;}
<p style="text-shadow: 3px 3px 1px #E2A142">Text here.</p>
This text has shadow with #E2A142 color.
.textShadow {text-shadow: 3px 3px 1px #E2A142, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2A142, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2A142 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2A142, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2A142, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2A142 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2A142; -webkit-box-shadow: 1px 1px 3px 2px #E2A142; box-shadow: 1px 1px 3px 2px #E2A142; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2A142; -webkit-box-shadow: 1px 1px 3px 2px #E2A142; box-shadow:1px 1px 3px 2px #E2A142;">
Div content here</div>
This text has color #E2A142 on black background.
This text has color #E2A142 on white background.
This text has black color on #E2A142 background.
This text has white color on #E2A142 background.