HEX: #EC8CF0
RGB: (236,140,240)
#EC8CF0 contains mainly red and blue colors. Web safe color of #EC8CF0 is #FF99FF (or #F9F).
#EC8CF0 color RGB value is (236,140,240).
RGB: (236,140,240) (93%,55%,94%)
R 236 of 255 = 93%
G 140 of 255 = 55%
B 240 of 255 = 94%
R + G + B ~ 81%. #EC8CF0 is quite light color.
R + G + B =
236 + 140 + 240 = 616 (100%)
R 236 of 616 ~ 38.31%
G 140 of 616 ~ 22.73%
B 240 of 616 ~ 38.96%
#EC8CF0 color CMYK value is (2,42,0,6).
CMYK: (2,42,0,6) C2M42Y0K6 (2%,42%,0%,6%) (0.02/0.42/0.00/0.06)
EC | 8C | F0 | |
---|---|---|---|
RGB | 236 | 140 | 240 |
HSL | 298° | 76.92% | 74.51% |
HSB/HSV | 298° | 41.67% | 94.12% |
CMYK | 1.67% | 41.67% | 0.00% |
5.88% |
HEX | EC | 8C | F0 |
Decimal | 236 | 140 | 240 |
Binary | 11101100 | 10001100 | 11110000 |
Octal | 354 | 214 | 360 |
Examples of css and html codes for elements with #EC8CF0 color. Also use rgb(236,140,240) instead hex code.
.myTextColor { color: #EC8CF0; }
<p style="color:#EC8CF0">This sample text font color is #EC8CF0.</p>
This text font color is #EC8CF0.
.myBgColor { background-color: #EC8CF0; }
<div style="background-color:#EC8CF0">Inner text</div>
This div background color is #EC8CF0.
.myBorderColor { border: 1px solid #EC8CF0; }
<div style="border:3px solid #EC8CF0">Div</div>
This div border color is #EC8CF0.
.myOpacity80 { color: #EC8CF0; opacity: 0.8; }
<p style="color:#EC8CF0;opacity:0.8;">80%</p>
Text with #EC8CF0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC8CF0;}
<p style="text-shadow: 3px 3px 1px #EC8CF0">Text here.</p>
This text has shadow with #EC8CF0 color.
.textShadow {text-shadow: 3px 3px 1px #EC8CF0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC8CF0, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC8CF0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC8CF0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC8CF0, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC8CF0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC8CF0; -webkit-box-shadow: 1px 1px 3px 2px #EC8CF0; box-shadow: 1px 1px 3px 2px #EC8CF0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC8CF0; -webkit-box-shadow: 1px 1px 3px 2px #EC8CF0; box-shadow:1px 1px 3px 2px #EC8CF0;">
Div content here</div>
This text has color #EC8CF0 on black background.
This text has color #EC8CF0 on white background.
This text has black color on #EC8CF0 background.
This text has white color on #EC8CF0 background.