HEX: #D7A8DD
RGB: (215,168,221)
#D7A8DD contains red, green and blue colors in about the same proportion. Web safe color of #D7A8DD is #CC99CC (or #C9C).
#D7A8DD color RGB value is (215,168,221).
RGB: (215,168,221) (84%,66%,87%)
R 215 of 255 = 84%
G 168 of 255 = 66%
B 221 of 255 = 87%
R + G + B ~ 79%. #D7A8DD is quite light color.
R + G + B =
215 + 168 + 221 = 604 (100%)
R 215 of 604 ~ 35.6%
G 168 of 604 ~ 27.81%
B 221 of 604 ~ 36.59%
#D7A8DD color CMYK value is (3,24,0,13).
CMYK: (3,24,0,13) C3M24Y0K13 (3%,24%,0%,13%) (0.03/0.24/0.00/0.13)
D7 | A8 | DD | |
---|---|---|---|
RGB | 215 | 168 | 221 |
HSL | 293° | 43.80% | 76.27% |
HSB/HSV | 293° | 23.98% | 86.67% |
CMYK | 2.71% | 23.98% | 0.00% |
13.33% |
HEX | D7 | A8 | DD |
Decimal | 215 | 168 | 221 |
Binary | 11010111 | 10101000 | 11011101 |
Octal | 327 | 250 | 335 |
Examples of css and html codes for elements with #D7A8DD color. Also use rgb(215,168,221) instead hex code.
.myTextColor { color: #D7A8DD; }
<p style="color:#D7A8DD">This sample text font color is #D7A8DD.</p>
This text font color is #D7A8DD.
.myBgColor { background-color: #D7A8DD; }
<div style="background-color:#D7A8DD">Inner text</div>
This div background color is #D7A8DD.
.myBorderColor { border: 1px solid #D7A8DD; }
<div style="border:3px solid #D7A8DD">Div</div>
This div border color is #D7A8DD.
.myOpacity80 { color: #D7A8DD; opacity: 0.8; }
<p style="color:#D7A8DD;opacity:0.8;">80%</p>
Text with #D7A8DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7A8DD;}
<p style="text-shadow: 3px 3px 1px #D7A8DD">Text here.</p>
This text has shadow with #D7A8DD color.
.textShadow {text-shadow: 3px 3px 1px #D7A8DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7A8DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7A8DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7A8DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7A8DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7A8DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7A8DD; -webkit-box-shadow: 1px 1px 3px 2px #D7A8DD; box-shadow: 1px 1px 3px 2px #D7A8DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7A8DD; -webkit-box-shadow: 1px 1px 3px 2px #D7A8DD; box-shadow:1px 1px 3px 2px #D7A8DD;">
Div content here</div>
This text has color #D7A8DD on black background.
This text has color #D7A8DD on white background.
This text has black color on #D7A8DD background.
This text has white color on #D7A8DD background.