HEX: #D6A6FB
RGB: (214,166,251)
#D6A6FB contains mainly red and blue colors. Web safe color of #D6A6FB is #CC99FF (or #C9F).
#D6A6FB color RGB value is (214,166,251).
RGB: (214,166,251) (84%,65%,98%)
R 214 of 255 = 84%
G 166 of 255 = 65%
B 251 of 255 = 98%
R + G + B ~ 82%. #D6A6FB is quite light color.
R + G + B =
214 + 166 + 251 = 631 (100%)
R 214 of 631 ~ 33.91%
G 166 of 631 ~ 26.31%
B 251 of 631 ~ 39.78%
#D6A6FB color CMYK value is (15,34,0,2).
CMYK: (15,34,0,2) C15M34Y0K2 (15%,34%,0%,2%) (0.15/0.34/0.00/0.02)
D6 | A6 | FB | |
---|---|---|---|
RGB | 214 | 166 | 251 |
HSL | 274° | 91.40% | 81.76% |
HSB/HSV | 274° | 33.86% | 98.43% |
CMYK | 14.74% | 33.86% | 0.00% |
1.57% |
HEX | D6 | A6 | FB |
Decimal | 214 | 166 | 251 |
Binary | 11010110 | 10100110 | 11111011 |
Octal | 326 | 246 | 373 |
Examples of css and html codes for elements with #D6A6FB color. Also use rgb(214,166,251) instead hex code.
.myTextColor { color: #D6A6FB; }
<p style="color:#D6A6FB">This sample text font color is #D6A6FB.</p>
This text font color is #D6A6FB.
.myBgColor { background-color: #D6A6FB; }
<div style="background-color:#D6A6FB">Inner text</div>
This div background color is #D6A6FB.
.myBorderColor { border: 1px solid #D6A6FB; }
<div style="border:3px solid #D6A6FB">Div</div>
This div border color is #D6A6FB.
.myOpacity80 { color: #D6A6FB; opacity: 0.8; }
<p style="color:#D6A6FB;opacity:0.8;">80%</p>
Text with #D6A6FB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6A6FB;}
<p style="text-shadow: 3px 3px 1px #D6A6FB">Text here.</p>
This text has shadow with #D6A6FB color.
.textShadow {text-shadow: 3px 3px 1px #D6A6FB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6A6FB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6A6FB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6A6FB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6A6FB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6A6FB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6A6FB; -webkit-box-shadow: 1px 1px 3px 2px #D6A6FB; box-shadow: 1px 1px 3px 2px #D6A6FB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6A6FB; -webkit-box-shadow: 1px 1px 3px 2px #D6A6FB; box-shadow:1px 1px 3px 2px #D6A6FB;">
Div content here</div>
This text has color #D6A6FB on black background.
This text has color #D6A6FB on white background.
This text has black color on #D6A6FB background.
This text has white color on #D6A6FB background.