HEX: #D4F8DC
RGB: (212,248,220)
#D4F8DC contains red, green and blue colors in about the same proportion. Web safe color of #D4F8DC is #CCFFCC (or #CFC).
#D4F8DC color RGB value is (212,248,220).
RGB: (212,248,220) (83%,97%,86%)
R 212 of 255 = 83%
G 248 of 255 = 97%
B 220 of 255 = 86%
R + G + B ~ 89%. #D4F8DC is light color.
R + G + B =
212 + 248 + 220 = 680 (100%)
R 212 of 680 ~ 31.18%
G 248 of 680 ~ 36.47%
B 220 of 680 ~ 32.35%
#D4F8DC color CMYK value is (15,0,11,3).
CMYK: (15,0,11,3) C15M0Y11K3 (15%,0%,11%,3%) (0.15/0.00/0.11/0.03)
D4 | F8 | DC | |
---|---|---|---|
RGB | 212 | 248 | 220 |
HSL | 133° | 72.00% | 90.20% |
HSB/HSV | 133° | 14.52% | 97.25% |
CMYK | 14.52% | 0.00% | 11.29% |
2.75% |
HEX | D4 | F8 | DC |
Decimal | 212 | 248 | 220 |
Binary | 11010100 | 11111000 | 11011100 |
Octal | 324 | 370 | 334 |
Examples of css and html codes for elements with #D4F8DC color. Also use rgb(212,248,220) instead hex code.
.myTextColor { color: #D4F8DC; }
<p style="color:#D4F8DC">This sample text font color is #D4F8DC.</p>
This text font color is #D4F8DC.
.myBgColor { background-color: #D4F8DC; }
<div style="background-color:#D4F8DC">Inner text</div>
This div background color is #D4F8DC.
.myBorderColor { border: 1px solid #D4F8DC; }
<div style="border:3px solid #D4F8DC">Div</div>
This div border color is #D4F8DC.
.myOpacity80 { color: #D4F8DC; opacity: 0.8; }
<p style="color:#D4F8DC;opacity:0.8;">80%</p>
Text with #D4F8DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4F8DC;}
<p style="text-shadow: 3px 3px 1px #D4F8DC">Text here.</p>
This text has shadow with #D4F8DC color.
.textShadow {text-shadow: 3px 3px 1px #D4F8DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4F8DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4F8DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4F8DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4F8DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4F8DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4F8DC; -webkit-box-shadow: 1px 1px 3px 2px #D4F8DC; box-shadow: 1px 1px 3px 2px #D4F8DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4F8DC; -webkit-box-shadow: 1px 1px 3px 2px #D4F8DC; box-shadow:1px 1px 3px 2px #D4F8DC;">
Div content here</div>
This text has color #D4F8DC on black background.
This text has color #D4F8DC on white background.
This text has black color on #D4F8DC background.
This text has white color on #D4F8DC background.