HEX: #D7A6DA
RGB: (215,166,218)
#D7A6DA contains red, green and blue colors in about the same proportion. Web safe color of #D7A6DA is #CC99CC (or #C9C).
#D7A6DA color RGB value is (215,166,218).
RGB: (215,166,218) (84%,65%,85%)
R 215 of 255 = 84%
G 166 of 255 = 65%
B 218 of 255 = 85%
R + G + B ~ 78%. #D7A6DA is quite light color.
R + G + B =
215 + 166 + 218 = 599 (100%)
R 215 of 599 ~ 35.89%
G 166 of 599 ~ 27.71%
B 218 of 599 ~ 36.39%
#D7A6DA color CMYK value is (1,24,0,15).
CMYK: (1,24,0,15) C1M24Y0K15 (1%,24%,0%,15%) (0.01/0.24/0.00/0.15)
D7 | A6 | DA | |
---|---|---|---|
RGB | 215 | 166 | 218 |
HSL | 297° | 41.27% | 75.29% |
HSB/HSV | 297° | 23.85% | 85.49% |
CMYK | 1.38% | 23.85% | 0.00% |
14.51% |
HEX | D7 | A6 | DA |
Decimal | 215 | 166 | 218 |
Binary | 11010111 | 10100110 | 11011010 |
Octal | 327 | 246 | 332 |
Examples of css and html codes for elements with #D7A6DA color. Also use rgb(215,166,218) instead hex code.
.myTextColor { color: #D7A6DA; }
<p style="color:#D7A6DA">This sample text font color is #D7A6DA.</p>
This text font color is #D7A6DA.
.myBgColor { background-color: #D7A6DA; }
<div style="background-color:#D7A6DA">Inner text</div>
This div background color is #D7A6DA.
.myBorderColor { border: 1px solid #D7A6DA; }
<div style="border:3px solid #D7A6DA">Div</div>
This div border color is #D7A6DA.
.myOpacity80 { color: #D7A6DA; opacity: 0.8; }
<p style="color:#D7A6DA;opacity:0.8;">80%</p>
Text with #D7A6DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7A6DA;}
<p style="text-shadow: 3px 3px 1px #D7A6DA">Text here.</p>
This text has shadow with #D7A6DA color.
.textShadow {text-shadow: 3px 3px 1px #D7A6DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7A6DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7A6DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7A6DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7A6DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7A6DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7A6DA; -webkit-box-shadow: 1px 1px 3px 2px #D7A6DA; box-shadow: 1px 1px 3px 2px #D7A6DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7A6DA; -webkit-box-shadow: 1px 1px 3px 2px #D7A6DA; box-shadow:1px 1px 3px 2px #D7A6DA;">
Div content here</div>
This text has color #D7A6DA on black background.
This text has color #D7A6DA on white background.
This text has black color on #D7A6DA background.
This text has white color on #D7A6DA background.