HEX: #D6ABD6
RGB: (214,171,214)
#D6ABD6 contains red, green and blue colors in about the same proportion. Web safe color of #D6ABD6 is #CC99CC (or #C9C).
#D6ABD6 color RGB value is (214,171,214).
RGB: (214,171,214) (84%,67%,84%)
R 214 of 255 = 84%
G 171 of 255 = 67%
B 214 of 255 = 84%
R + G + B ~ 78%. #D6ABD6 is quite light color.
R + G + B =
214 + 171 + 214 = 599 (100%)
R 214 of 599 ~ 35.73%
G 171 of 599 ~ 28.55%
B 214 of 599 ~ 35.73%
#D6ABD6 color CMYK value is (0,20,0,16).
CMYK: (0,20,0,16) C0M20Y0K16 (0%,20%,0%,16%) (0.00/0.20/0.00/0.16)
D6 | AB | D6 | |
---|---|---|---|
RGB | 214 | 171 | 214 |
HSL | 300° | 34.40% | 75.49% |
HSB/HSV | 300° | 20.09% | 83.92% |
CMYK | 0.00% | 20.09% | 0.00% |
16.08% |
HEX | D6 | AB | D6 |
Decimal | 214 | 171 | 214 |
Binary | 11010110 | 10101011 | 11010110 |
Octal | 326 | 253 | 326 |
Examples of css and html codes for elements with #D6ABD6 color. Also use rgb(214,171,214) instead hex code.
.myTextColor { color: #D6ABD6; }
<p style="color:#D6ABD6">This sample text font color is #D6ABD6.</p>
This text font color is #D6ABD6.
.myBgColor { background-color: #D6ABD6; }
<div style="background-color:#D6ABD6">Inner text</div>
This div background color is #D6ABD6.
.myBorderColor { border: 1px solid #D6ABD6; }
<div style="border:3px solid #D6ABD6">Div</div>
This div border color is #D6ABD6.
.myOpacity80 { color: #D6ABD6; opacity: 0.8; }
<p style="color:#D6ABD6;opacity:0.8;">80%</p>
Text with #D6ABD6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6ABD6;}
<p style="text-shadow: 3px 3px 1px #D6ABD6">Text here.</p>
This text has shadow with #D6ABD6 color.
.textShadow {text-shadow: 3px 3px 1px #D6ABD6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6ABD6, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6ABD6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6ABD6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6ABD6, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6ABD6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6ABD6; -webkit-box-shadow: 1px 1px 3px 2px #D6ABD6; box-shadow: 1px 1px 3px 2px #D6ABD6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6ABD6; -webkit-box-shadow: 1px 1px 3px 2px #D6ABD6; box-shadow:1px 1px 3px 2px #D6ABD6;">
Div content here</div>
This text has color #D6ABD6 on black background.
This text has color #D6ABD6 on white background.
This text has black color on #D6ABD6 background.
This text has white color on #D6ABD6 background.