HEX: #E2AF15
RGB: (226,175,21)
#E2AF15 contains mainly red and green colors. Web safe color of #E2AF15 is #CC9900 (or #C90).
#E2AF15 color RGB value is (226,175,21).
RGB: (226,175,21) (89%,69%,8%)
R 226 of 255 = 89%
G 175 of 255 = 69%
B 21 of 255 = 8%
R + G + B ~ 55%. #E2AF15 is middle color (not dark and not light).
R + G + B =
226 + 175 + 21 = 422 (100%)
R 226 of 422 ~ 53.55%
G 175 of 422 ~ 41.47%
B 21 of 422 ~ 4.98%
#E2AF15 color CMYK value is (0,23,91,11).
CMYK: (0,23,91,11) C0M23Y91K11 (0%,23%,91%,11%) (0.00/0.23/0.91/0.11)
E2 | AF | 15 | |
---|---|---|---|
RGB | 226 | 175 | 21 |
HSL | 45° | 83.00% | 48.43% |
HSB/HSV | 45° | 90.71% | 88.63% |
CMYK | 0.00% | 22.57% | 90.71% |
11.37% |
HEX | E2 | AF | 15 |
Decimal | 226 | 175 | 21 |
Binary | 11100010 | 10101111 | 10101 |
Octal | 342 | 257 | 25 |
Examples of css and html codes for elements with #E2AF15 color. Also use rgb(226,175,21) instead hex code.
.myTextColor { color: #E2AF15; }
<p style="color:#E2AF15">This sample text font color is #E2AF15.</p>
This text font color is #E2AF15.
.myBgColor { background-color: #E2AF15; }
<div style="background-color:#E2AF15">Inner text</div>
This div background color is #E2AF15.
.myBorderColor { border: 1px solid #E2AF15; }
<div style="border:3px solid #E2AF15">Div</div>
This div border color is #E2AF15.
.myOpacity80 { color: #E2AF15; opacity: 0.8; }
<p style="color:#E2AF15;opacity:0.8;">80%</p>
Text with #E2AF15 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2AF15;}
<p style="text-shadow: 3px 3px 1px #E2AF15">Text here.</p>
This text has shadow with #E2AF15 color.
.textShadow {text-shadow: 3px 3px 1px #E2AF15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2AF15, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2AF15 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2AF15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2AF15, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2AF15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2AF15; -webkit-box-shadow: 1px 1px 3px 2px #E2AF15; box-shadow: 1px 1px 3px 2px #E2AF15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2AF15; -webkit-box-shadow: 1px 1px 3px 2px #E2AF15; box-shadow:1px 1px 3px 2px #E2AF15;">
Div content here</div>
This text has color #E2AF15 on black background.
This text has color #E2AF15 on white background.
This text has black color on #E2AF15 background.
This text has white color on #E2AF15 background.