HEX: #ECA5E2
RGB: (236,165,226)
#ECA5E2 contains mainly red and blue colors. Web safe color of #ECA5E2 is #FF99CC (or #F9C).
#ECA5E2 color RGB value is (236,165,226).
RGB: (236,165,226) (93%,65%,89%)
R 236 of 255 = 93%
G 165 of 255 = 65%
B 226 of 255 = 89%
R + G + B ~ 82%. #ECA5E2 is quite light color.
R + G + B =
236 + 165 + 226 = 627 (100%)
R 236 of 627 ~ 37.64%
G 165 of 627 ~ 26.32%
B 226 of 627 ~ 36.04%
#ECA5E2 color CMYK value is (0,30,4,7).
CMYK: (0,30,4,7) C0M30Y4K7 (0%,30%,4%,7%) (0.00/0.30/0.04/0.07)
EC | A5 | E2 | |
---|---|---|---|
RGB | 236 | 165 | 226 |
HSL | 308° | 65.14% | 78.63% |
HSB/HSV | 308° | 30.08% | 92.55% |
CMYK | 0.00% | 30.08% | 4.24% |
7.45% |
HEX | EC | A5 | E2 |
Decimal | 236 | 165 | 226 |
Binary | 11101100 | 10100101 | 11100010 |
Octal | 354 | 245 | 342 |
Examples of css and html codes for elements with #ECA5E2 color. Also use rgb(236,165,226) instead hex code.
.myTextColor { color: #ECA5E2; }
<p style="color:#ECA5E2">This sample text font color is #ECA5E2.</p>
This text font color is #ECA5E2.
.myBgColor { background-color: #ECA5E2; }
<div style="background-color:#ECA5E2">Inner text</div>
This div background color is #ECA5E2.
.myBorderColor { border: 1px solid #ECA5E2; }
<div style="border:3px solid #ECA5E2">Div</div>
This div border color is #ECA5E2.
.myOpacity80 { color: #ECA5E2; opacity: 0.8; }
<p style="color:#ECA5E2;opacity:0.8;">80%</p>
Text with #ECA5E2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECA5E2;}
<p style="text-shadow: 3px 3px 1px #ECA5E2">Text here.</p>
This text has shadow with #ECA5E2 color.
.textShadow {text-shadow: 3px 3px 1px #ECA5E2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECA5E2, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECA5E2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECA5E2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECA5E2, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECA5E2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECA5E2; -webkit-box-shadow: 1px 1px 3px 2px #ECA5E2; box-shadow: 1px 1px 3px 2px #ECA5E2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECA5E2; -webkit-box-shadow: 1px 1px 3px 2px #ECA5E2; box-shadow:1px 1px 3px 2px #ECA5E2;">
Div content here</div>
This text has color #ECA5E2 on black background.
This text has color #ECA5E2 on white background.
This text has black color on #ECA5E2 background.
This text has white color on #ECA5E2 background.