HEX: #EC5998
RGB: (236,89,152)
#EC5998 contains mainly red color. Web safe color of #EC5998 is #FF6699 (or #F69).
#EC5998 color RGB value is (236,89,152).
RGB: (236,89,152) (93%,35%,60%)
R 236 of 255 = 93%
G 89 of 255 = 35%
B 152 of 255 = 60%
R + G + B ~ 63%. #EC5998 is quite light color.
R + G + B =
236 + 89 + 152 = 477 (100%)
R 236 of 477 ~ 49.48%
G 89 of 477 ~ 18.66%
B 152 of 477 ~ 31.87%
#EC5998 color CMYK value is (0,62,36,7).
CMYK: (0,62,36,7) C0M62Y36K7 (0%,62%,36%,7%) (0.00/0.62/0.36/0.07)
EC | 59 | 98 | |
---|---|---|---|
RGB | 236 | 89 | 152 |
HSL | 334° | 79.46% | 63.73% |
HSB/HSV | 334° | 62.29% | 92.55% |
CMYK | 0.00% | 62.29% | 35.59% |
7.45% |
HEX | EC | 59 | 98 |
Decimal | 236 | 89 | 152 |
Binary | 11101100 | 1011001 | 10011000 |
Octal | 354 | 131 | 230 |
Examples of css and html codes for elements with #EC5998 color. Also use rgb(236,89,152) instead hex code.
.myTextColor { color: #EC5998; }
<p style="color:#EC5998">This sample text font color is #EC5998.</p>
This text font color is #EC5998.
.myBgColor { background-color: #EC5998; }
<div style="background-color:#EC5998">Inner text</div>
This div background color is #EC5998.
.myBorderColor { border: 1px solid #EC5998; }
<div style="border:3px solid #EC5998">Div</div>
This div border color is #EC5998.
.myOpacity80 { color: #EC5998; opacity: 0.8; }
<p style="color:#EC5998;opacity:0.8;">80%</p>
Text with #EC5998 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC5998;}
<p style="text-shadow: 3px 3px 1px #EC5998">Text here.</p>
This text has shadow with #EC5998 color.
.textShadow {text-shadow: 3px 3px 1px #EC5998, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC5998, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC5998 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC5998, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC5998, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC5998 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC5998; -webkit-box-shadow: 1px 1px 3px 2px #EC5998; box-shadow: 1px 1px 3px 2px #EC5998; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC5998; -webkit-box-shadow: 1px 1px 3px 2px #EC5998; box-shadow:1px 1px 3px 2px #EC5998;">
Div content here</div>
This text has color #EC5998 on black background.
This text has color #EC5998 on white background.
This text has black color on #EC5998 background.
This text has white color on #EC5998 background.