HEX: #EC97DB
RGB: (236,151,219)
#EC97DB contains mainly red and blue colors. Web safe color of #EC97DB is #FF99CC (or #F9C).
#EC97DB color RGB value is (236,151,219).
RGB: (236,151,219) (93%,59%,86%)
R 236 of 255 = 93%
G 151 of 255 = 59%
B 219 of 255 = 86%
R + G + B ~ 79%. #EC97DB is quite light color.
R + G + B =
236 + 151 + 219 = 606 (100%)
R 236 of 606 ~ 38.94%
G 151 of 606 ~ 24.92%
B 219 of 606 ~ 36.14%
#EC97DB color CMYK value is (0,36,7,7).
CMYK: (0,36,7,7) C0M36Y7K7 (0%,36%,7%,7%) (0.00/0.36/0.07/0.07)
EC | 97 | DB | |
---|---|---|---|
RGB | 236 | 151 | 219 |
HSL | 312° | 69.11% | 75.88% |
HSB/HSV | 312° | 36.02% | 92.55% |
CMYK | 0.00% | 36.02% | 7.20% |
7.45% |
HEX | EC | 97 | DB |
Decimal | 236 | 151 | 219 |
Binary | 11101100 | 10010111 | 11011011 |
Octal | 354 | 227 | 333 |
Examples of css and html codes for elements with #EC97DB color. Also use rgb(236,151,219) instead hex code.
.myTextColor { color: #EC97DB; }
<p style="color:#EC97DB">This sample text font color is #EC97DB.</p>
This text font color is #EC97DB.
.myBgColor { background-color: #EC97DB; }
<div style="background-color:#EC97DB">Inner text</div>
This div background color is #EC97DB.
.myBorderColor { border: 1px solid #EC97DB; }
<div style="border:3px solid #EC97DB">Div</div>
This div border color is #EC97DB.
.myOpacity80 { color: #EC97DB; opacity: 0.8; }
<p style="color:#EC97DB;opacity:0.8;">80%</p>
Text with #EC97DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC97DB;}
<p style="text-shadow: 3px 3px 1px #EC97DB">Text here.</p>
This text has shadow with #EC97DB color.
.textShadow {text-shadow: 3px 3px 1px #EC97DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC97DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC97DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC97DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC97DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC97DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC97DB; -webkit-box-shadow: 1px 1px 3px 2px #EC97DB; box-shadow: 1px 1px 3px 2px #EC97DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC97DB; -webkit-box-shadow: 1px 1px 3px 2px #EC97DB; box-shadow:1px 1px 3px 2px #EC97DB;">
Div content here</div>
This text has color #EC97DB on black background.
This text has color #EC97DB on white background.
This text has black color on #EC97DB background.
This text has white color on #EC97DB background.