HEX: #D5A7ED
RGB: (213,167,237)
#D5A7ED contains mainly red and blue colors. Web safe color of #D5A7ED is #CC99FF (or #C9F).
#D5A7ED color RGB value is (213,167,237).
RGB: (213,167,237) (84%,65%,93%)
R 213 of 255 = 84%
G 167 of 255 = 65%
B 237 of 255 = 93%
R + G + B ~ 81%. #D5A7ED is quite light color.
R + G + B =
213 + 167 + 237 = 617 (100%)
R 213 of 617 ~ 34.52%
G 167 of 617 ~ 27.07%
B 237 of 617 ~ 38.41%
#D5A7ED color CMYK value is (10,30,0,7).
CMYK: (10,30,0,7) C10M30Y0K7 (10%,30%,0%,7%) (0.10/0.30/0.00/0.07)
D5 | A7 | ED | |
---|---|---|---|
RGB | 213 | 167 | 237 |
HSL | 279° | 66.04% | 79.22% |
HSB/HSV | 279° | 29.54% | 92.94% |
CMYK | 10.13% | 29.54% | 0.00% |
7.06% |
HEX | D5 | A7 | ED |
Decimal | 213 | 167 | 237 |
Binary | 11010101 | 10100111 | 11101101 |
Octal | 325 | 247 | 355 |
Examples of css and html codes for elements with #D5A7ED color. Also use rgb(213,167,237) instead hex code.
.myTextColor { color: #D5A7ED; }
<p style="color:#D5A7ED">This sample text font color is #D5A7ED.</p>
This text font color is #D5A7ED.
.myBgColor { background-color: #D5A7ED; }
<div style="background-color:#D5A7ED">Inner text</div>
This div background color is #D5A7ED.
.myBorderColor { border: 1px solid #D5A7ED; }
<div style="border:3px solid #D5A7ED">Div</div>
This div border color is #D5A7ED.
.myOpacity80 { color: #D5A7ED; opacity: 0.8; }
<p style="color:#D5A7ED;opacity:0.8;">80%</p>
Text with #D5A7ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5A7ED;}
<p style="text-shadow: 3px 3px 1px #D5A7ED">Text here.</p>
This text has shadow with #D5A7ED color.
.textShadow {text-shadow: 3px 3px 1px #D5A7ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5A7ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5A7ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5A7ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5A7ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5A7ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5A7ED; -webkit-box-shadow: 1px 1px 3px 2px #D5A7ED; box-shadow: 1px 1px 3px 2px #D5A7ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5A7ED; -webkit-box-shadow: 1px 1px 3px 2px #D5A7ED; box-shadow:1px 1px 3px 2px #D5A7ED;">
Div content here</div>
This text has color #D5A7ED on black background.
This text has color #D5A7ED on white background.
This text has black color on #D5A7ED background.
This text has white color on #D5A7ED background.