HEX: #D9C6FA
RGB: (217,198,250)
#D9C6FA contains red, green and blue colors in about the same proportion. Web safe color of #D9C6FA is #CCCCFF (or #CCF).
#D9C6FA color RGB value is (217,198,250).
RGB: (217,198,250) (85%,78%,98%)
R 217 of 255 = 85%
G 198 of 255 = 78%
B 250 of 255 = 98%
R + G + B ~ 87%. #D9C6FA is light color.
R + G + B =
217 + 198 + 250 = 665 (100%)
R 217 of 665 ~ 32.63%
G 198 of 665 ~ 29.77%
B 250 of 665 ~ 37.59%
#D9C6FA color CMYK value is (13,21,0,2).
CMYK: (13,21,0,2) C13M21Y0K2 (13%,21%,0%,2%) (0.13/0.21/0.00/0.02)
D9 | C6 | FA | |
---|---|---|---|
RGB | 217 | 198 | 250 |
HSL | 262° | 83.87% | 87.84% |
HSB/HSV | 262° | 20.80% | 98.04% |
CMYK | 13.20% | 20.80% | 0.00% |
1.96% |
HEX | D9 | C6 | FA |
Decimal | 217 | 198 | 250 |
Binary | 11011001 | 11000110 | 11111010 |
Octal | 331 | 306 | 372 |
Examples of css and html codes for elements with #D9C6FA color. Also use rgb(217,198,250) instead hex code.
.myTextColor { color: #D9C6FA; }
<p style="color:#D9C6FA">This sample text font color is #D9C6FA.</p>
This text font color is #D9C6FA.
.myBgColor { background-color: #D9C6FA; }
<div style="background-color:#D9C6FA">Inner text</div>
This div background color is #D9C6FA.
.myBorderColor { border: 1px solid #D9C6FA; }
<div style="border:3px solid #D9C6FA">Div</div>
This div border color is #D9C6FA.
.myOpacity80 { color: #D9C6FA; opacity: 0.8; }
<p style="color:#D9C6FA;opacity:0.8;">80%</p>
Text with #D9C6FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C6FA;}
<p style="text-shadow: 3px 3px 1px #D9C6FA">Text here.</p>
This text has shadow with #D9C6FA color.
.textShadow {text-shadow: 3px 3px 1px #D9C6FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C6FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C6FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C6FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C6FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C6FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C6FA; -webkit-box-shadow: 1px 1px 3px 2px #D9C6FA; box-shadow: 1px 1px 3px 2px #D9C6FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C6FA; -webkit-box-shadow: 1px 1px 3px 2px #D9C6FA; box-shadow:1px 1px 3px 2px #D9C6FA;">
Div content here</div>
This text has color #D9C6FA on black background.
This text has color #D9C6FA on white background.
This text has black color on #D9C6FA background.
This text has white color on #D9C6FA background.