HEX: #E4A0C8
RGB: (228,160,200)
#E4A0C8 contains mainly red and blue colors. Web safe color of #E4A0C8 is #CC99CC (or #C9C).
#E4A0C8 color RGB value is (228,160,200).
RGB: (228,160,200) (89%,63%,78%)
R 228 of 255 = 89%
G 160 of 255 = 63%
B 200 of 255 = 78%
R + G + B ~ 77%. #E4A0C8 is quite light color.
R + G + B =
228 + 160 + 200 = 588 (100%)
R 228 of 588 ~ 38.78%
G 160 of 588 ~ 27.21%
B 200 of 588 ~ 34.01%
#E4A0C8 color CMYK value is (0,30,12,11).
CMYK: (0,30,12,11) C0M30Y12K11 (0%,30%,12%,11%) (0.00/0.30/0.12/0.11)
E4 | A0 | C8 | |
---|---|---|---|
RGB | 228 | 160 | 200 |
HSL | 325° | 55.74% | 76.08% |
HSB/HSV | 325° | 29.82% | 89.41% |
CMYK | 0.00% | 29.82% | 12.28% |
10.59% |
HEX | E4 | A0 | C8 |
Decimal | 228 | 160 | 200 |
Binary | 11100100 | 10100000 | 11001000 |
Octal | 344 | 240 | 310 |
Examples of css and html codes for elements with #E4A0C8 color. Also use rgb(228,160,200) instead hex code.
.myTextColor { color: #E4A0C8; }
<p style="color:#E4A0C8">This sample text font color is #E4A0C8.</p>
This text font color is #E4A0C8.
.myBgColor { background-color: #E4A0C8; }
<div style="background-color:#E4A0C8">Inner text</div>
This div background color is #E4A0C8.
.myBorderColor { border: 1px solid #E4A0C8; }
<div style="border:3px solid #E4A0C8">Div</div>
This div border color is #E4A0C8.
.myOpacity80 { color: #E4A0C8; opacity: 0.8; }
<p style="color:#E4A0C8;opacity:0.8;">80%</p>
Text with #E4A0C8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4A0C8;}
<p style="text-shadow: 3px 3px 1px #E4A0C8">Text here.</p>
This text has shadow with #E4A0C8 color.
.textShadow {text-shadow: 3px 3px 1px #E4A0C8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4A0C8, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4A0C8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4A0C8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4A0C8, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4A0C8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4A0C8; -webkit-box-shadow: 1px 1px 3px 2px #E4A0C8; box-shadow: 1px 1px 3px 2px #E4A0C8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4A0C8; -webkit-box-shadow: 1px 1px 3px 2px #E4A0C8; box-shadow:1px 1px 3px 2px #E4A0C8;">
Div content here</div>
This text has color #E4A0C8 on black background.
This text has color #E4A0C8 on white background.
This text has black color on #E4A0C8 background.
This text has white color on #E4A0C8 background.