HEX: #ECD40B
RGB: (236,212,11)
#ECD40B contains mainly red and green colors. Web safe color of #ECD40B is #FFCC00 (or #FC0).
#ECD40B color RGB value is (236,212,11).
RGB: (236,212,11) (93%,83%,4%)
R 236 of 255 = 93%
G 212 of 255 = 83%
B 11 of 255 = 4%
R + G + B ~ 60%. #ECD40B is middle color (not dark and not light).
R + G + B =
236 + 212 + 11 = 459 (100%)
R 236 of 459 ~ 51.42%
G 212 of 459 ~ 46.19%
B 11 of 459 ~ 2.4%
#ECD40B color CMYK value is (0,10,95,7).
CMYK: (0,10,95,7) C0M10Y95K7 (0%,10%,95%,7%) (0.00/0.10/0.95/0.07)
EC | D4 | 0B | |
---|---|---|---|
RGB | 236 | 212 | 11 |
HSL | 54° | 91.09% | 48.43% |
HSB/HSV | 54° | 95.34% | 92.55% |
CMYK | 0.00% | 10.17% | 95.34% |
7.45% |
HEX | EC | D4 | 0B |
Decimal | 236 | 212 | 11 |
Binary | 11101100 | 11010100 | 1011 |
Octal | 354 | 324 | 13 |
Examples of css and html codes for elements with #ECD40B color. Also use rgb(236,212,11) instead hex code.
.myTextColor { color: #ECD40B; }
<p style="color:#ECD40B">This sample text font color is #ECD40B.</p>
This text font color is #ECD40B.
.myBgColor { background-color: #ECD40B; }
<div style="background-color:#ECD40B">Inner text</div>
This div background color is #ECD40B.
.myBorderColor { border: 1px solid #ECD40B; }
<div style="border:3px solid #ECD40B">Div</div>
This div border color is #ECD40B.
.myOpacity80 { color: #ECD40B; opacity: 0.8; }
<p style="color:#ECD40B;opacity:0.8;">80%</p>
Text with #ECD40B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECD40B;}
<p style="text-shadow: 3px 3px 1px #ECD40B">Text here.</p>
This text has shadow with #ECD40B color.
.textShadow {text-shadow: 3px 3px 1px #ECD40B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECD40B, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECD40B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECD40B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECD40B, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECD40B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECD40B; -webkit-box-shadow: 1px 1px 3px 2px #ECD40B; box-shadow: 1px 1px 3px 2px #ECD40B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECD40B; -webkit-box-shadow: 1px 1px 3px 2px #ECD40B; box-shadow:1px 1px 3px 2px #ECD40B;">
Div content here</div>
This text has color #ECD40B on black background.
This text has color #ECD40B on white background.
This text has black color on #ECD40B background.
This text has white color on #ECD40B background.