HEX: #D4D1FA
RGB: (212,209,250)
#D4D1FA contains red, green and blue colors in about the same proportion. Web safe color of #D4D1FA is #CCCCFF (or #CCF).
#D4D1FA color RGB value is (212,209,250).
RGB: (212,209,250) (83%,82%,98%)
R 212 of 255 = 83%
G 209 of 255 = 82%
B 250 of 255 = 98%
R + G + B ~ 88%. #D4D1FA is light color.
R + G + B =
212 + 209 + 250 = 671 (100%)
R 212 of 671 ~ 31.59%
G 209 of 671 ~ 31.15%
B 250 of 671 ~ 37.26%
#D4D1FA color CMYK value is (15,16,0,2).
CMYK: (15,16,0,2) C15M16Y0K2 (15%,16%,0%,2%) (0.15/0.16/0.00/0.02)
D4 | D1 | FA | |
---|---|---|---|
RGB | 212 | 209 | 250 |
HSL | 244° | 80.39% | 90.00% |
HSB/HSV | 244° | 16.40% | 98.04% |
CMYK | 15.20% | 16.40% | 0.00% |
1.96% |
HEX | D4 | D1 | FA |
Decimal | 212 | 209 | 250 |
Binary | 11010100 | 11010001 | 11111010 |
Octal | 324 | 321 | 372 |
Examples of css and html codes for elements with #D4D1FA color. Also use rgb(212,209,250) instead hex code.
.myTextColor { color: #D4D1FA; }
<p style="color:#D4D1FA">This sample text font color is #D4D1FA.</p>
This text font color is #D4D1FA.
.myBgColor { background-color: #D4D1FA; }
<div style="background-color:#D4D1FA">Inner text</div>
This div background color is #D4D1FA.
.myBorderColor { border: 1px solid #D4D1FA; }
<div style="border:3px solid #D4D1FA">Div</div>
This div border color is #D4D1FA.
.myOpacity80 { color: #D4D1FA; opacity: 0.8; }
<p style="color:#D4D1FA;opacity:0.8;">80%</p>
Text with #D4D1FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4D1FA;}
<p style="text-shadow: 3px 3px 1px #D4D1FA">Text here.</p>
This text has shadow with #D4D1FA color.
.textShadow {text-shadow: 3px 3px 1px #D4D1FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4D1FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4D1FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4D1FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4D1FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4D1FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4D1FA; -webkit-box-shadow: 1px 1px 3px 2px #D4D1FA; box-shadow: 1px 1px 3px 2px #D4D1FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4D1FA; -webkit-box-shadow: 1px 1px 3px 2px #D4D1FA; box-shadow:1px 1px 3px 2px #D4D1FA;">
Div content here</div>
This text has color #D4D1FA on black background.
This text has color #D4D1FA on white background.
This text has black color on #D4D1FA background.
This text has white color on #D4D1FA background.