HEX: #ED318C
RGB: (237,49,140)
#ED318C contains mainly red color. Web safe color of #ED318C is #FF3399 (or #F39).
#ED318C color RGB value is (237,49,140).
RGB: (237,49,140) (93%,19%,55%)
R 237 of 255 = 93%
G 49 of 255 = 19%
B 140 of 255 = 55%
R + G + B ~ 56%. #ED318C is middle color (not dark and not light).
R + G + B =
237 + 49 + 140 = 426 (100%)
R 237 of 426 ~ 55.63%
G 49 of 426 ~ 11.5%
B 140 of 426 ~ 32.86%
#ED318C color CMYK value is (0,79,41,7).
CMYK: (0,79,41,7) C0M79Y41K7 (0%,79%,41%,7%) (0.00/0.79/0.41/0.07)
ED | 31 | 8C | |
---|---|---|---|
RGB | 237 | 49 | 140 |
HSL | 331° | 83.93% | 56.08% |
HSB/HSV | 331° | 79.32% | 92.94% |
CMYK | 0.00% | 79.32% | 40.93% |
7.06% |
HEX | ED | 31 | 8C |
Decimal | 237 | 49 | 140 |
Binary | 11101101 | 110001 | 10001100 |
Octal | 355 | 61 | 214 |
Examples of css and html codes for elements with #ED318C color. Also use rgb(237,49,140) instead hex code.
.myTextColor { color: #ED318C; }
<p style="color:#ED318C">This sample text font color is #ED318C.</p>
This text font color is #ED318C.
.myBgColor { background-color: #ED318C; }
<div style="background-color:#ED318C">Inner text</div>
This div background color is #ED318C.
.myBorderColor { border: 1px solid #ED318C; }
<div style="border:3px solid #ED318C">Div</div>
This div border color is #ED318C.
.myOpacity80 { color: #ED318C; opacity: 0.8; }
<p style="color:#ED318C;opacity:0.8;">80%</p>
Text with #ED318C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ED318C;}
<p style="text-shadow: 3px 3px 1px #ED318C">Text here.</p>
This text has shadow with #ED318C color.
.textShadow {text-shadow: 3px 3px 1px #ED318C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ED318C, 5px 5px 20px red">Text here.</p>
This text has shadow with #ED318C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ED318C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ED318C, Direction=45, Strength=4)">Text</p>
This text has shadow with #ED318C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ED318C; -webkit-box-shadow: 1px 1px 3px 2px #ED318C; box-shadow: 1px 1px 3px 2px #ED318C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ED318C; -webkit-box-shadow: 1px 1px 3px 2px #ED318C; box-shadow:1px 1px 3px 2px #ED318C;">
Div content here</div>
This text has color #ED318C on black background.
This text has color #ED318C on white background.
This text has black color on #ED318C background.
This text has white color on #ED318C background.