HEX: #E4989E
RGB: (228,152,158)
#E4989E contains mainly red color. Web safe color of #E4989E is #CC9999 (or #C99).
#E4989E color RGB value is (228,152,158).
RGB: (228,152,158) (89%,60%,62%)
R 228 of 255 = 89%
G 152 of 255 = 60%
B 158 of 255 = 62%
R + G + B ~ 70%. #E4989E is quite light color.
R + G + B =
228 + 152 + 158 = 538 (100%)
R 228 of 538 ~ 42.38%
G 152 of 538 ~ 28.25%
B 158 of 538 ~ 29.37%
#E4989E color CMYK value is (0,33,31,11).
CMYK: (0,33,31,11) C0M33Y31K11 (0%,33%,31%,11%) (0.00/0.33/0.31/0.11)
E4 | 98 | 9E | |
---|---|---|---|
RGB | 228 | 152 | 158 |
HSL | 355° | 58.46% | 74.51% |
HSB/HSV | 355° | 33.33% | 89.41% |
CMYK | 0.00% | 33.33% | 30.70% |
10.59% |
HEX | E4 | 98 | 9E |
Decimal | 228 | 152 | 158 |
Binary | 11100100 | 10011000 | 10011110 |
Octal | 344 | 230 | 236 |
Examples of css and html codes for elements with #E4989E color. Also use rgb(228,152,158) instead hex code.
.myTextColor { color: #E4989E; }
<p style="color:#E4989E">This sample text font color is #E4989E.</p>
This text font color is #E4989E.
.myBgColor { background-color: #E4989E; }
<div style="background-color:#E4989E">Inner text</div>
This div background color is #E4989E.
.myBorderColor { border: 1px solid #E4989E; }
<div style="border:3px solid #E4989E">Div</div>
This div border color is #E4989E.
.myOpacity80 { color: #E4989E; opacity: 0.8; }
<p style="color:#E4989E;opacity:0.8;">80%</p>
Text with #E4989E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4989E;}
<p style="text-shadow: 3px 3px 1px #E4989E">Text here.</p>
This text has shadow with #E4989E color.
.textShadow {text-shadow: 3px 3px 1px #E4989E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4989E, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4989E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4989E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4989E, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4989E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4989E; -webkit-box-shadow: 1px 1px 3px 2px #E4989E; box-shadow: 1px 1px 3px 2px #E4989E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4989E; -webkit-box-shadow: 1px 1px 3px 2px #E4989E; box-shadow:1px 1px 3px 2px #E4989E;">
Div content here</div>
This text has color #E4989E on black background.
This text has color #E4989E on white background.
This text has black color on #E4989E background.
This text has white color on #E4989E background.