HEX: #D4E1DC
RGB: (212,225,220)
#D4E1DC contains red, green and blue colors in about the same proportion. Web safe color of #D4E1DC is #CCCCCC (or #CCC).
#D4E1DC color RGB value is (212,225,220).
RGB: (212,225,220) (83%,88%,86%)
R 212 of 255 = 83%
G 225 of 255 = 88%
B 220 of 255 = 86%
R + G + B ~ 86%. #D4E1DC is light color.
R + G + B =
212 + 225 + 220 = 657 (100%)
R 212 of 657 ~ 32.27%
G 225 of 657 ~ 34.25%
B 220 of 657 ~ 33.49%
#D4E1DC color CMYK value is (6,0,2,12).
CMYK: (6,0,2,12) C6M0Y2K12 (6%,0%,2%,12%) (0.06/0.00/0.02/0.12)
D4 | E1 | DC | |
---|---|---|---|
RGB | 212 | 225 | 220 |
HSL | 157° | 17.81% | 85.69% |
HSB/HSV | 157° | 5.78% | 88.24% |
CMYK | 5.78% | 0.00% | 2.22% |
11.76% |
HEX | D4 | E1 | DC |
Decimal | 212 | 225 | 220 |
Binary | 11010100 | 11100001 | 11011100 |
Octal | 324 | 341 | 334 |
Examples of css and html codes for elements with #D4E1DC color. Also use rgb(212,225,220) instead hex code.
.myTextColor { color: #D4E1DC; }
<p style="color:#D4E1DC">This sample text font color is #D4E1DC.</p>
This text font color is #D4E1DC.
.myBgColor { background-color: #D4E1DC; }
<div style="background-color:#D4E1DC">Inner text</div>
This div background color is #D4E1DC.
.myBorderColor { border: 1px solid #D4E1DC; }
<div style="border:3px solid #D4E1DC">Div</div>
This div border color is #D4E1DC.
.myOpacity80 { color: #D4E1DC; opacity: 0.8; }
<p style="color:#D4E1DC;opacity:0.8;">80%</p>
Text with #D4E1DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4E1DC;}
<p style="text-shadow: 3px 3px 1px #D4E1DC">Text here.</p>
This text has shadow with #D4E1DC color.
.textShadow {text-shadow: 3px 3px 1px #D4E1DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4E1DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4E1DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4E1DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4E1DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4E1DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4E1DC; -webkit-box-shadow: 1px 1px 3px 2px #D4E1DC; box-shadow: 1px 1px 3px 2px #D4E1DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4E1DC; -webkit-box-shadow: 1px 1px 3px 2px #D4E1DC; box-shadow:1px 1px 3px 2px #D4E1DC;">
Div content here</div>
This text has color #D4E1DC on black background.
This text has color #D4E1DC on white background.
This text has black color on #D4E1DC background.
This text has white color on #D4E1DC background.