HEX: #E7AFC8
RGB: (231,175,200)
#E7AFC8 contains red, green and blue colors in about the same proportion. Web safe color of #E7AFC8 is #FF99CC (or #F9C).
#E7AFC8 color RGB value is (231,175,200).
RGB: (231,175,200) (91%,69%,78%)
R 231 of 255 = 91%
G 175 of 255 = 69%
B 200 of 255 = 78%
R + G + B ~ 79%. #E7AFC8 is quite light color.
R + G + B =
231 + 175 + 200 = 606 (100%)
R 231 of 606 ~ 38.12%
G 175 of 606 ~ 28.88%
B 200 of 606 ~ 33%
#E7AFC8 color CMYK value is (0,24,13,9).
CMYK: (0,24,13,9) C0M24Y13K9 (0%,24%,13%,9%) (0.00/0.24/0.13/0.09)
E7 | AF | C8 | |
---|---|---|---|
RGB | 231 | 175 | 200 |
HSL | 333° | 53.85% | 79.61% |
HSB/HSV | 333° | 24.24% | 90.59% |
CMYK | 0.00% | 24.24% | 13.42% |
9.41% |
HEX | E7 | AF | C8 |
Decimal | 231 | 175 | 200 |
Binary | 11100111 | 10101111 | 11001000 |
Octal | 347 | 257 | 310 |
Examples of css and html codes for elements with #E7AFC8 color. Also use rgb(231,175,200) instead hex code.
.myTextColor { color: #E7AFC8; }
<p style="color:#E7AFC8">This sample text font color is #E7AFC8.</p>
This text font color is #E7AFC8.
.myBgColor { background-color: #E7AFC8; }
<div style="background-color:#E7AFC8">Inner text</div>
This div background color is #E7AFC8.
.myBorderColor { border: 1px solid #E7AFC8; }
<div style="border:3px solid #E7AFC8">Div</div>
This div border color is #E7AFC8.
.myOpacity80 { color: #E7AFC8; opacity: 0.8; }
<p style="color:#E7AFC8;opacity:0.8;">80%</p>
Text with #E7AFC8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E7AFC8;}
<p style="text-shadow: 3px 3px 1px #E7AFC8">Text here.</p>
This text has shadow with #E7AFC8 color.
.textShadow {text-shadow: 3px 3px 1px #E7AFC8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E7AFC8, 5px 5px 20px red">Text here.</p>
This text has shadow with #E7AFC8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E7AFC8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E7AFC8, Direction=45, Strength=4)">Text</p>
This text has shadow with #E7AFC8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E7AFC8; -webkit-box-shadow: 1px 1px 3px 2px #E7AFC8; box-shadow: 1px 1px 3px 2px #E7AFC8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E7AFC8; -webkit-box-shadow: 1px 1px 3px 2px #E7AFC8; box-shadow:1px 1px 3px 2px #E7AFC8;">
Div content here</div>
This text has color #E7AFC8 on black background.
This text has color #E7AFC8 on white background.
This text has black color on #E7AFC8 background.
This text has white color on #E7AFC8 background.