HEX: #D4A6DD
RGB: (212,166,221)
#D4A6DD contains red, green and blue colors in about the same proportion. Web safe color of #D4A6DD is #CC99CC (or #C9C).
#D4A6DD color RGB value is (212,166,221).
RGB: (212,166,221) (83%,65%,87%)
R 212 of 255 = 83%
G 166 of 255 = 65%
B 221 of 255 = 87%
R + G + B ~ 78%. #D4A6DD is quite light color.
R + G + B =
212 + 166 + 221 = 599 (100%)
R 212 of 599 ~ 35.39%
G 166 of 599 ~ 27.71%
B 221 of 599 ~ 36.89%
#D4A6DD color CMYK value is (4,25,0,13).
CMYK: (4,25,0,13) C4M25Y0K13 (4%,25%,0%,13%) (0.04/0.25/0.00/0.13)
D4 | A6 | DD | |
---|---|---|---|
RGB | 212 | 166 | 221 |
HSL | 290° | 44.72% | 75.88% |
HSB/HSV | 290° | 24.89% | 86.67% |
CMYK | 4.07% | 24.89% | 0.00% |
13.33% |
HEX | D4 | A6 | DD |
Decimal | 212 | 166 | 221 |
Binary | 11010100 | 10100110 | 11011101 |
Octal | 324 | 246 | 335 |
Examples of css and html codes for elements with #D4A6DD color. Also use rgb(212,166,221) instead hex code.
.myTextColor { color: #D4A6DD; }
<p style="color:#D4A6DD">This sample text font color is #D4A6DD.</p>
This text font color is #D4A6DD.
.myBgColor { background-color: #D4A6DD; }
<div style="background-color:#D4A6DD">Inner text</div>
This div background color is #D4A6DD.
.myBorderColor { border: 1px solid #D4A6DD; }
<div style="border:3px solid #D4A6DD">Div</div>
This div border color is #D4A6DD.
.myOpacity80 { color: #D4A6DD; opacity: 0.8; }
<p style="color:#D4A6DD;opacity:0.8;">80%</p>
Text with #D4A6DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4A6DD;}
<p style="text-shadow: 3px 3px 1px #D4A6DD">Text here.</p>
This text has shadow with #D4A6DD color.
.textShadow {text-shadow: 3px 3px 1px #D4A6DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4A6DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4A6DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4A6DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4A6DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4A6DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4A6DD; -webkit-box-shadow: 1px 1px 3px 2px #D4A6DD; box-shadow: 1px 1px 3px 2px #D4A6DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4A6DD; -webkit-box-shadow: 1px 1px 3px 2px #D4A6DD; box-shadow:1px 1px 3px 2px #D4A6DD;">
Div content here</div>
This text has color #D4A6DD on black background.
This text has color #D4A6DD on white background.
This text has black color on #D4A6DD background.
This text has white color on #D4A6DD background.