HEX: #EC5070
RGB: (236,80,112)
#EC5070 contains mainly red color. Web safe color of #EC5070 is #FF6666 (or #F66).
#EC5070 color RGB value is (236,80,112).
RGB: (236,80,112) (93%,31%,44%)
R 236 of 255 = 93%
G 80 of 255 = 31%
B 112 of 255 = 44%
R + G + B ~ 56%. #EC5070 is middle color (not dark and not light).
R + G + B =
236 + 80 + 112 = 428 (100%)
R 236 of 428 ~ 55.14%
G 80 of 428 ~ 18.69%
B 112 of 428 ~ 26.17%
#EC5070 color CMYK value is (0,66,53,7).
CMYK: (0,66,53,7) C0M66Y53K7 (0%,66%,53%,7%) (0.00/0.66/0.53/0.07)
EC | 50 | 70 | |
---|---|---|---|
RGB | 236 | 80 | 112 |
HSL | 348° | 80.41% | 61.96% |
HSB/HSV | 348° | 66.10% | 92.55% |
CMYK | 0.00% | 66.10% | 52.54% |
7.45% |
HEX | EC | 50 | 70 |
Decimal | 236 | 80 | 112 |
Binary | 11101100 | 1010000 | 1110000 |
Octal | 354 | 120 | 160 |
Examples of css and html codes for elements with #EC5070 color. Also use rgb(236,80,112) instead hex code.
.myTextColor { color: #EC5070; }
<p style="color:#EC5070">This sample text font color is #EC5070.</p>
This text font color is #EC5070.
.myBgColor { background-color: #EC5070; }
<div style="background-color:#EC5070">Inner text</div>
This div background color is #EC5070.
.myBorderColor { border: 1px solid #EC5070; }
<div style="border:3px solid #EC5070">Div</div>
This div border color is #EC5070.
.myOpacity80 { color: #EC5070; opacity: 0.8; }
<p style="color:#EC5070;opacity:0.8;">80%</p>
Text with #EC5070 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC5070;}
<p style="text-shadow: 3px 3px 1px #EC5070">Text here.</p>
This text has shadow with #EC5070 color.
.textShadow {text-shadow: 3px 3px 1px #EC5070, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC5070, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC5070 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC5070, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC5070, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC5070 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC5070; -webkit-box-shadow: 1px 1px 3px 2px #EC5070; box-shadow: 1px 1px 3px 2px #EC5070; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC5070; -webkit-box-shadow: 1px 1px 3px 2px #EC5070; box-shadow:1px 1px 3px 2px #EC5070;">
Div content here</div>
This text has color #EC5070 on black background.
This text has color #EC5070 on white background.
This text has black color on #EC5070 background.
This text has white color on #EC5070 background.