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