HEX: #EC8A07
RGB: (236,138,7)
#EC8A07 contains mainly red color. Web safe color of #EC8A07 is #FF9900 (or #F90).
#EC8A07 color RGB value is (236,138,7).
RGB: (236,138,7) (93%,54%,3%)
R 236 of 255 = 93%
G 138 of 255 = 54%
B 7 of 255 = 3%
R + G + B ~ 50%. #EC8A07 is middle color (not dark and not light).
R + G + B =
236 + 138 + 7 = 381 (100%)
R 236 of 381 ~ 61.94%
G 138 of 381 ~ 36.22%
B 7 of 381 ~ 1.84%
#EC8A07 color CMYK value is (0,42,97,7).
CMYK: (0,42,97,7) C0M42Y97K7 (0%,42%,97%,7%) (0.00/0.42/0.97/0.07)
EC | 8A | 07 | |
---|---|---|---|
RGB | 236 | 138 | 7 |
HSL | 34° | 94.24% | 47.65% |
HSB/HSV | 34° | 97.03% | 92.55% |
CMYK | 0.00% | 41.53% | 97.03% |
7.45% |
HEX | EC | 8A | 07 |
Decimal | 236 | 138 | 7 |
Binary | 11101100 | 10001010 | 111 |
Octal | 354 | 212 | 7 |
Examples of css and html codes for elements with #EC8A07 color. Also use rgb(236,138,7) instead hex code.
.myTextColor { color: #EC8A07; }
<p style="color:#EC8A07">This sample text font color is #EC8A07.</p>
This text font color is #EC8A07.
.myBgColor { background-color: #EC8A07; }
<div style="background-color:#EC8A07">Inner text</div>
This div background color is #EC8A07.
.myBorderColor { border: 1px solid #EC8A07; }
<div style="border:3px solid #EC8A07">Div</div>
This div border color is #EC8A07.
.myOpacity80 { color: #EC8A07; opacity: 0.8; }
<p style="color:#EC8A07;opacity:0.8;">80%</p>
Text with #EC8A07 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC8A07;}
<p style="text-shadow: 3px 3px 1px #EC8A07">Text here.</p>
This text has shadow with #EC8A07 color.
.textShadow {text-shadow: 3px 3px 1px #EC8A07, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC8A07, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC8A07 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC8A07, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC8A07, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC8A07 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC8A07; -webkit-box-shadow: 1px 1px 3px 2px #EC8A07; box-shadow: 1px 1px 3px 2px #EC8A07; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC8A07; -webkit-box-shadow: 1px 1px 3px 2px #EC8A07; box-shadow:1px 1px 3px 2px #EC8A07;">
Div content here</div>
This text has color #EC8A07 on black background.
This text has color #EC8A07 on white background.
This text has black color on #EC8A07 background.
This text has white color on #EC8A07 background.