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