HEX: #EC8C05
RGB: (236,140,5)
#EC8C05 contains mainly red color. Web safe color of #EC8C05 is #FF9900 (or #F90).
#EC8C05 color RGB value is (236,140,5).
RGB: (236,140,5) (93%,55%,2%)
R 236 of 255 = 93%
G 140 of 255 = 55%
B 5 of 255 = 2%
R + G + B ~ 50%. #EC8C05 is middle color (not dark and not light).
R + G + B =
236 + 140 + 5 = 381 (100%)
R 236 of 381 ~ 61.94%
G 140 of 381 ~ 36.75%
B 5 of 381 ~ 1.31%
#EC8C05 color CMYK value is (0,41,98,7).
CMYK: (0,41,98,7) C0M41Y98K7 (0%,41%,98%,7%) (0.00/0.41/0.98/0.07)
EC | 8C | 05 | |
---|---|---|---|
RGB | 236 | 140 | 5 |
HSL | 35° | 95.85% | 47.25% |
HSB/HSV | 35° | 97.88% | 92.55% |
CMYK | 0.00% | 40.68% | 97.88% |
7.45% |
HEX | EC | 8C | 05 |
Decimal | 236 | 140 | 5 |
Binary | 11101100 | 10001100 | 101 |
Octal | 354 | 214 | 5 |
Examples of css and html codes for elements with #EC8C05 color. Also use rgb(236,140,5) instead hex code.
.myTextColor { color: #EC8C05; }
<p style="color:#EC8C05">This sample text font color is #EC8C05.</p>
This text font color is #EC8C05.
.myBgColor { background-color: #EC8C05; }
<div style="background-color:#EC8C05">Inner text</div>
This div background color is #EC8C05.
.myBorderColor { border: 1px solid #EC8C05; }
<div style="border:3px solid #EC8C05">Div</div>
This div border color is #EC8C05.
.myOpacity80 { color: #EC8C05; opacity: 0.8; }
<p style="color:#EC8C05;opacity:0.8;">80%</p>
Text with #EC8C05 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC8C05;}
<p style="text-shadow: 3px 3px 1px #EC8C05">Text here.</p>
This text has shadow with #EC8C05 color.
.textShadow {text-shadow: 3px 3px 1px #EC8C05, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC8C05, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC8C05 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC8C05, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC8C05, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC8C05 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC8C05; -webkit-box-shadow: 1px 1px 3px 2px #EC8C05; box-shadow: 1px 1px 3px 2px #EC8C05; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC8C05; -webkit-box-shadow: 1px 1px 3px 2px #EC8C05; box-shadow:1px 1px 3px 2px #EC8C05;">
Div content here</div>
This text has color #EC8C05 on black background.
This text has color #EC8C05 on white background.
This text has black color on #EC8C05 background.
This text has white color on #EC8C05 background.