HEX: #ECCC72
RGB: (236,204,114)
#ECCC72 contains mainly red and green colors. Web safe color of #ECCC72 is #FFCC66 (or #FC6).
#ECCC72 color RGB value is (236,204,114).
RGB: (236,204,114) (93%,80%,45%)
R 236 of 255 = 93%
G 204 of 255 = 80%
B 114 of 255 = 45%
R + G + B ~ 73%. #ECCC72 is quite light color.
R + G + B =
236 + 204 + 114 = 554 (100%)
R 236 of 554 ~ 42.6%
G 204 of 554 ~ 36.82%
B 114 of 554 ~ 20.58%
#ECCC72 color CMYK value is (0,14,52,7).
CMYK: (0,14,52,7) C0M14Y52K7 (0%,14%,52%,7%) (0.00/0.14/0.52/0.07)
EC | CC | 72 | |
---|---|---|---|
RGB | 236 | 204 | 114 |
HSL | 44° | 76.25% | 68.63% |
HSB/HSV | 44° | 51.69% | 92.55% |
CMYK | 0.00% | 13.56% | 51.69% |
7.45% |
HEX | EC | CC | 72 |
Decimal | 236 | 204 | 114 |
Binary | 11101100 | 11001100 | 1110010 |
Octal | 354 | 314 | 162 |
Examples of css and html codes for elements with #ECCC72 color. Also use rgb(236,204,114) instead hex code.
.myTextColor { color: #ECCC72; }
<p style="color:#ECCC72">This sample text font color is #ECCC72.</p>
This text font color is #ECCC72.
.myBgColor { background-color: #ECCC72; }
<div style="background-color:#ECCC72">Inner text</div>
This div background color is #ECCC72.
.myBorderColor { border: 1px solid #ECCC72; }
<div style="border:3px solid #ECCC72">Div</div>
This div border color is #ECCC72.
.myOpacity80 { color: #ECCC72; opacity: 0.8; }
<p style="color:#ECCC72;opacity:0.8;">80%</p>
Text with #ECCC72 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECCC72;}
<p style="text-shadow: 3px 3px 1px #ECCC72">Text here.</p>
This text has shadow with #ECCC72 color.
.textShadow {text-shadow: 3px 3px 1px #ECCC72, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECCC72, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECCC72 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECCC72, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECCC72, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECCC72 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECCC72; -webkit-box-shadow: 1px 1px 3px 2px #ECCC72; box-shadow: 1px 1px 3px 2px #ECCC72; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECCC72; -webkit-box-shadow: 1px 1px 3px 2px #ECCC72; box-shadow:1px 1px 3px 2px #ECCC72;">
Div content here</div>
This text has color #ECCC72 on black background.
This text has color #ECCC72 on white background.
This text has black color on #ECCC72 background.
This text has white color on #ECCC72 background.