HEX: #E6A402
RGB: (230,164,2)
#E6A402 contains mainly red color. Web safe color of #E6A402 is #CC9900 (or #C90).
#E6A402 color RGB value is (230,164,2).
RGB: (230,164,2) (90%,64%,1%)
R 230 of 255 = 90%
G 164 of 255 = 64%
B 2 of 255 = 1%
R + G + B ~ 52%. #E6A402 is middle color (not dark and not light).
R + G + B =
230 + 164 + 2 = 396 (100%)
R 230 of 396 ~ 58.08%
G 164 of 396 ~ 41.41%
B 2 of 396 ~ 0.51%
#E6A402 color CMYK value is (0,29,99,10).
CMYK: (0,29,99,10) C0M29Y99K10 (0%,29%,99%,10%) (0.00/0.29/0.99/0.10)
E6 | A4 | 02 | |
---|---|---|---|
RGB | 230 | 164 | 2 |
HSL | 43° | 98.28% | 45.49% |
HSB/HSV | 43° | 99.13% | 90.20% |
CMYK | 0.00% | 28.70% | 99.13% |
9.80% |
HEX | E6 | A4 | 02 |
Decimal | 230 | 164 | 2 |
Binary | 11100110 | 10100100 | 10 |
Octal | 346 | 244 | 2 |
Examples of css and html codes for elements with #E6A402 color. Also use rgb(230,164,2) instead hex code.
.myTextColor { color: #E6A402; }
<p style="color:#E6A402">This sample text font color is #E6A402.</p>
This text font color is #E6A402.
.myBgColor { background-color: #E6A402; }
<div style="background-color:#E6A402">Inner text</div>
This div background color is #E6A402.
.myBorderColor { border: 1px solid #E6A402; }
<div style="border:3px solid #E6A402">Div</div>
This div border color is #E6A402.
.myOpacity80 { color: #E6A402; opacity: 0.8; }
<p style="color:#E6A402;opacity:0.8;">80%</p>
Text with #E6A402 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E6A402;}
<p style="text-shadow: 3px 3px 1px #E6A402">Text here.</p>
This text has shadow with #E6A402 color.
.textShadow {text-shadow: 3px 3px 1px #E6A402, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E6A402, 5px 5px 20px red">Text here.</p>
This text has shadow with #E6A402 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E6A402, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E6A402, Direction=45, Strength=4)">Text</p>
This text has shadow with #E6A402 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E6A402; -webkit-box-shadow: 1px 1px 3px 2px #E6A402; box-shadow: 1px 1px 3px 2px #E6A402; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E6A402; -webkit-box-shadow: 1px 1px 3px 2px #E6A402; box-shadow:1px 1px 3px 2px #E6A402;">
Div content here</div>
This text has color #E6A402 on black background.
This text has color #E6A402 on white background.
This text has black color on #E6A402 background.
This text has white color on #E6A402 background.